Documentation about "push.default=upstream" is confusing

2014-02-09 Thread Ingo Rohloff
Hello, I recently started to use git and now are digging through more and more of the low level details. What I recently tried was to do this for a repository created by Bob: git remote add -t for_bob anna So setup a remote (created by anna) for which a branch called "for_bob" is fetched. T

Ambiguous branch names...

2014-02-16 Thread Ingo Rohloff
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

Re: error: src refspec refs/heads/master matches more than one.

2014-02-17 Thread Ingo Rohloff
Duy Nguyen gmail.com> writes: > Prevent is a strong word. I meant we only do it if they force > it. Something like this.. > I would propose to make this even stronger: Forbid to create any branches which start with any of: - "refs/" - "heads/" - "remotes/" - "tags/" as long as you do not use th