[git-users] Unable to rename .git/HEAD.lock

2013-02-22 Thread Ralf Kaiser
Hello, we are using GIT (V1.8.1) in our build process inside a MSBuild script on Windows. When clone our main repositories to the build machine we sometimes get the message "Unable to rename /.git/.HEAD.lock to /.git/.HEAD - Retry (y/n)". At that time the build process hangs because there is

[git-users] Re: To know the string in which branch

2013-02-22 Thread Blind
$ git log --source --all -Sfoo 21 февруари 2013, четвъртък, 09:35:48 UTC+2, lei yang написа: > > Hi expert, > > Is there a git command to know string "foo" contains in which branch? > > Lei > > -- You received this message because you are subscribed to the Google Groups "Git for human beings"

[git-users] Re: Unable to rename .git/HEAD.lock

2013-02-22 Thread Thomas Ferris Nicolaisen
On Friday, February 22, 2013 9:35:18 AM UTC+1, Ralf Kaiser wrote: > Hello, > > we are using GIT (V1.8.1) in our build process inside a MSBuild script on > Windows. > > When clone our main repositories to the build machine we sometimes get the > message "Unable to rename /.git/.HEAD.lock to > /.

[git-users] Re: Unable to rename .git/HEAD.lock

2013-02-22 Thread Ralf Kaiser
To be a little clearer: There is an *empty* directory and in that directory we are cloning our repository when we get that message. No other processes are involved, the target directory ist created just before the cloning (two lines above in the build script) and then the "git clone" is execute

Re: [git-users] Unable to rename .git/HEAD.lock

2013-02-22 Thread Konstantin Khomoutov
On Fri, 22 Feb 2013 00:35:18 -0800 (PST) Ralf Kaiser wrote: > we are using GIT (V1.8.1) in our build process inside a MSBuild > script on Windows. > > When clone our main repositories to the build machine we sometimes > get the message "Unable to rename /.git/.HEAD.lock to > /.git/.HEAD - Retry

Re: [git-users] Unable to rename .git/HEAD.lock

2013-02-22 Thread Konstantin Khomoutov
On Fri, 22 Feb 2013 00:35:18 -0800 (PST) Ralf Kaiser wrote: > we are using GIT (V1.8.1) in our build process inside a MSBuild > script on Windows. > > When clone our main repositories to the build machine we sometimes > get the message "Unable to rename /.git/.HEAD.lock to > /.git/.HEAD - Retry

[git-users] 2 Git Repositories on 1 PC

2013-02-22 Thread Shaun
Hi, I have git set-up on my laptop for work. I want to set-up another project using git repository so I can push/pull to my VPS server. I don't want this to interfere with my current git settings. How can I set up my new repository so it points to my personal web server? -- You received this

Re: [git-users] 2 Git Repositories on 1 PC

2013-02-22 Thread Konstantin Khomoutov
On Fri, Feb 22, 2013 at 02:33:50PM -0800, Shaun wrote: > I have git set-up on my laptop for work. I want to set-up another project > using git repository so I can push/pull to my VPS server. I don't want this > to interfere with my current git settings. How can I set up my new > repository so i