Re: [git-users] git branch does not rev-parse its arguments

2014-07-16 Thread Konstantin Khomoutov
On Wed, 16 Jul 2014 13:41:29 +0100 Daniel Fanjul wrote: > In the command: > git branch (--set-upstream-to= | -u ) > [] > > is 'rev-parsed' but > is not. [...] Unfortunately, it's futile to report bugs on this list: here, we're merely helping newbies solve their problems with Git. Please try

[git-users] git branch does not rev-parse its arguments

2014-07-16 Thread Daniel Fanjul
Hi, In the command: git branch (--set-upstream-to= | -u ) [] is 'rev-parsed' but is not. *$ git checkout foo; git checkout bar* *Switched to branch 'foo'* *Switched to branch 'bar'* *$ git branch -u @ foo #A* *Branch foo set up to track local branch bar.* *$ git branch -u @{-1} bar #B* *Bra