Re: git-branch and git-remotes confusion
- From
Martin Langhoff <martin.langhoff@gmail.com>
- Date
- Apr 10, 2007, 12:33 UTC
- Message-ID
- <46a038f90704100533l7d795e79vd6245445c7e74c67@mail.gmail.com>
- In-Reply-To
- <20070410122516.GA27388@coredump.intra.peff.net>
On 4/11/07, Jeff King <peff@peff.net> wrote:
Show 7 quoted lines
> Your arguments to git-branch are backwards. It should be: > > git-branch --track my18-olpc origin/mdl18-olpc > > Also note that --track didn't show up until 1.5.1. Other than that, it > should do what you expect (check out your .git/config before and after > to see the impact of --track).
thanks. And I'm reading the doco for 1.5.latest and it turns out I'm using 1.5.0.5 so that won't work either.
hmmm. actually, I'm having another problem that is a bit more serious: cloning via http doesn't create a remotes/origin and doesn't perform the initial checkout.
will post separately about this...
martin