Hi. I'm helping some guys to migrate from SVN to Git. They are facing some obstacles, and I'm learning new things about SVN and Git while helping them solve those problems :)
It happened that in a repo there was a tag and a branch with the same name. Leaving SVN aside for a moment, I quickly build up a Git repo on my personal Gitlab server to replicate this scenario, then I cloned it. Supposing there are a branch and a tag called <something>, when I do: $ git checkout something Git checks out the tag <something>, and not the branch. Furthermore, it leaves me in a detached HEAD state. So, I'm looking for documentation about this behavior, and I'm wondering if there's a way to prefer branches over tags or other options I can set. It's only for my knowledge, not a real problem in fact :) Thanks, Nando -- 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/d/optout.