Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Reverse the order of -b and --track in the man page.
author
Brian Gernhardt
<benji@silverinsanity.com>
Mon, 23 Apr 2007 23:56:45 +0000
(19:56 -0400)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 23 Apr 2007 23:58:10 +0000
(16:58 -0700)
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>
Documentation/git-checkout.txt
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
c7f34c1
)
diff --git
a/Documentation/git-checkout.txt
b/Documentation/git-checkout.txt
index 4f2e847dc3fe44f503a578fc79496179c21ac11a..918d8ee720a573f91ec6efa654da5c2cdc05d7b0 100644
(file)
--- a/
Documentation/git-checkout.txt
+++ b/
Documentation/git-checkout.txt
@@
-8,7
+8,7
@@
git-checkout - Checkout and switch to a branch
SYNOPSIS
--------
[verse]
-'git-checkout' [-q] [-f] [
-b [--track | --no-track]
<new_branch> [-l]] [-m] [<branch>]
+'git-checkout' [-q] [-f] [
[--track | --no-track] -b
<new_branch> [-l]] [-m] [<branch>]
'git-checkout' [<tree-ish>] <paths>...
DESCRIPTION