Skip to content

Commit 442cb08

Browse files
torvaldsgitster
authored andcommitted
Fix missing 'does' in man-page for 'git checkout'
Reported-by: Rainer Standke <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9d14017 commit 442cb08

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Documentation/git-checkout.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ successful.
4545

4646
'git checkout' [--patch] [<tree-ish>] [--] <pathspec>...::
4747

48-
When <paths> or `--patch` are given, 'git checkout' *not* switch
49-
branches. It updates the named paths in the working tree from
50-
the index file or from a named <tree-ish> (most often a commit). In
51-
this case, the `-b` and `--track` options are meaningless and giving
52-
either of them results in an error. The <tree-ish> argument can be
53-
used to specify a specific tree-ish (i.e. commit, tag or tree)
54-
to update the index for the given paths before updating the
55-
working tree.
48+
When <paths> or `--patch` are given, 'git checkout' does *not*
49+
switch branches. It updates the named paths in the working tree
50+
from the index file or from a named <tree-ish> (most often a
51+
commit). In this case, the `-b` and `--track` options are
52+
meaningless and giving either of them results in an error. The
53+
<tree-ish> argument can be used to specify a specific tree-ish
54+
(i.e. commit, tag or tree) to update the index for the given
55+
paths before updating the working tree.
5656
+
5757
The index may contain unmerged entries because of a previous failed merge.
5858
By default, if you try to check out such an entry from the index, the

0 commit comments

Comments
 (0)