17 Aug 2011, 11:41pm

leave a comment

Checking out a git branch with an ambiguous name

So you have tags and branches with the same name in git. Possibly because you just ran svn2git on a massive repo. Normally you wouldn’t create this situation intentionally. Apparently you can use something like --prefix=svn/ to get around this problem when using git-svn, and possibly on import.

After the fact though, here are some tips. So you have a tag and a branch named my-ambiguous-name

git checkout my-ambiguous-name seems to preference the tag of that name. If you want the branch, here’s how to do it:

git checkout --track -b my-ambiguous-name_b origin/my-ambiguous-name

Notice that for the local name I affixed ‘_b’.

Then you can git pull, and git checkout my-ambiguous-name_b and it will work.

*name

*e-mail

web site

leave a comment


 

free winrar download

free winrar download

winrar download free

winrar download free

windows 7 key generator

windows 7 key generator

windows 7 activation crack

windows7 activation crack

free winzip

free winzip

free winrar

free winrar

winzip free download

winzip free download

winrar free download

winrar free download

windows 7 crack

windows 7 crack

winzip free download full version

winzip free download full version

winzip activation code

winzip activation code

windows 7 product key

windows 7 product key
\n