Re: git checkout -b origin/mybranch origin/mybranch
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Mar 12, 2009, 11:40 UTC
- Message-ID
- <fabb9a1e0903120440x78b296fbka1ddcf370f5b8df@mail.gmail.com>
- In-Reply-To
- <43d8ce650903120436u261cb7e3p838e4a12e7b54d7d@mail.gmail.com>
Heya,
On Thu, Mar 12, 2009 at 12:36, John Tapsell <johnflux@gmail.com> wrote:
> git complained that they need to specify the name with -b. So they did: > > git checkout -b origin/somebranch origin/somebranch
Slight unrelated, do they know about -t?
$ git checkout -t origin/somebranch
It will automagically create a branch named 'somebranch' tracking 'origin/somebranch'!
-- Cheers, Sverre Rabbelier