File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff 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+
5757The index may contain unmerged entries because of a previous failed merge.
5858By default, if you try to check out such an entry from the index, the
You can’t perform that action at this time.
0 commit comments