Re: [git-users] misandestanding
that is it, Thank you very much John! 2013/9/30 John McKown john.archie.mck...@gmail.com On the remote machine, just get into the equivalent working directory and do a git pull. At least that is what I do. Assuming I really understand what you are wanting. As an example I do: work$ git add new.program work$ git commit -m 'add new.program to local git' work$ git push #send to my bare repository work$ ssh othermachine othermachine$ cd working-directory othermachine$ git pull #synchronize to the bare repository I just updated othermachine$# do work on remote machine such as compile. othermachine$exit #finished work$exit #go home for the day On Mon, Sep 30, 2013 at 10:04 AM, denis zbitnev zbit...@gmail.com wrote: I've made commit on my local working copy on my local xterm than a made push than I go through ssh on remote box with my pushed last commit and the question is how to checkout working copy on remote machine to get my last commit Thx. -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- I have _not_ lost my mind! It is backed up on a flash drive somewhere. Maranatha! John McKown -- You received this message because you are subscribed to a topic in the Google Groups Git for human beings group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/git-users/rDwLvsa5gyQ/unsubscribe. To unsubscribe from this group and all its topics, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] git clone with password question very important
On Mon, 30 Sep 2013 22:26:11 -0700 (PDT) Jhovarie Guiang barik7...@gmail.com wrote: Im trying to execute git clone syntax and my syntax is git clone jhovarie@54.214.171.112:/home/jhovarie/trunk_test.git and my question is how to include my password to this syntax? example like this git clone jhovarie:(mypassword)@54.214.171.112:/home/jhovarie/trunk_test.git or git clone jhovarie@54.214.171.112:/home/jhovarie:(mypassword)/trunk_test.git this two syntax doest not work please help I really need the answer to my question. Consider employing pubkey-based authentication and an SSH agent (or, if *absolutely* needed -- for instance for unattended automated jobs -- an unencrypted key), as Thomas suggested. If using keyboard-interactive authentication is a requirement, consider running Git via sshpass [1] (simpler) or Expect [2] (harder) -- both tools allocate a pseudo TTY and are able to interact with SSH client spawned by Git as if they were the user entering the password at the supplied prompt. But again, by all means first consider deploying pubkey-based authentication! 1. http://sourceforge.net/projects/sshpass/ 2. http://expect.sourceforge.net/ -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[git-users] Re: extracting subdirectory from git repo
Hi Konstantin, Sorry for my late reply, I was in a trip and could not check it. Please have a look at: http://pastebin.com/VzfwVin2 If I run all steps directly on prompt, it works (you can observe that after filtering I have to create a branch so I can trigger this command: (git rev-list --branches | while read c; do git tag --contains $c; done) | sort -u /tmp/valid However, when running the bash it does not work (in the end I have /tmp/valid empty when running the script). http://pastebin.com/KTuHkAA7 On Tuesday, September 17, 2013 2:21:08 PM UTC+2, Gabriel Marchesan Almeida wrote: Dear colleagues, I am trying to extract subdirectories from a git repo and I have done so far these steps.. ---Filter subdirectory git filter-branch --tag-name-filter cat --prune-empty --subdirectory-filter ./Subfolder HEAD Delete history git reset --hard git for-each-ref --format=%(refname) refs/original/ | xargs -n 1 git update-ref -d git reflog expire --expire=now --all git gc --aggressive --prune=now --- The problem is that it extracts all the tags and not the only ones from this repo. Would you have any idea how could I do it? Thanks regards -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.