All of lore.kernel.org
 help / color / mirror / Atom feed
* Ambiguous branch names...
@ 2014-02-16 20:34 Ingo Rohloff
  2014-02-16 22:47 ` Duy Nguyen
  0 siblings, 1 reply; 2+ messages in thread
From: Ingo Rohloff @ 2014-02-16 20:34 UTC (permalink / raw)
  To: git

Hello,

while trying out git (version 1.7.9.5), I did this:

git clone -- ssh://myserver/~rohloff/git/w1.git w1

So I just cloned a test repository.
The in the cloned "w1" repository I executed:

git branch origin/master
git branch remotes/origin/master
git branch refs/remotes/origin/master

I now have got three *local* branches with the above names, which
now seems to make it impossible to refer to the master branch
from the "origin" *remote* repository.

Wouldn't it make sense to forbid such names for local branches ?
For example to enforce some rules like a local branch name *must not*
start with "remotes/" or "refs/" ?

so long
  Ingo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-16 22:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-16 20:34 Ambiguous branch names Ingo Rohloff
2014-02-16 22:47 ` Duy Nguyen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.