Re: [PATCH 4/5] doc/checkout: split checkout and branch creation in synopsis
- From
Jeff King <peff@peff.net>
- Date
- Apr 13, 2009, 13:19 UTC
- Message-ID
- <20090413131949.GA16293@coredump.intra.peff.net>
- In-Reply-To
- <fabb9a1e0904130613g5b664706jb6a3c29107ac1fc9@mail.gmail.com>
On Mon, Apr 13, 2009 at 03:13:06PM +0200, Sverre Rabbelier wrote:
Show 8 quoted lines
> On Mon, Apr 13, 2009 at 13:19, Jeff King <peff@peff.net> wrote: > > +'git checkout' [-q] [-f] [-m] [-b <new_branch>] [<start_point>] > > This way doesn't it say you can leave out the [-b <new branch>] part > but still specify a start point? I thought the general syntax for this > would make it: > > > +'git checkout' [-q] [-f] [-m] [-b <new_branch> [<start_point>]]
Oops, actually it is supposed to be:
'git checkout' ... -b <new_branch> [<start_point>]
The cause where "-b <new_branch>" isn't used is covered in the line above.
-Peff