Reverse the order of -b and --track in the man page.
Using "-b --track newbranch oldbranch" gives the error: git checkout: updating paths is incompatible with switching branches/forcing However, "--track -b ..." works just fine. Signed-off-by: Brian Gernhardt <benji@silverinsanity.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Brian Gernhardt committed
Apr 23, 2007 at 19:56 UTC
81178fe48c1466f400741842f9e3da1528cfd124
1 file changed
+1
-1
Documentation/git-checkout.txt
+1
-1
@@ -8,7 +8,7 @@ git-checkout - Checkout and switch to a branch
8
SYNOPSIS
9
--------
10
[verse]
11
-'git-checkout' [-q] [-f] [-b [--track | --no-track] <new_branch> [-l]] [-m] [<branch>]
11
+'git-checkout' [-q] [-f] [[--track | --no-track] -b <new_branch> [-l]] [-m] [<branch>]
12
'git-checkout' [<tree-ish>] <paths>...
13
14
DESCRIPTION