File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ SYNOPSIS
1010[verse]
1111'git reset' [-q] [<commit>] [--] <paths>...
1212'git reset' (--patch | -p) [<commit>] [--] [<paths>...]
13- 'git reset' ( --soft | --mixed | --hard | --merge | --keep) [-q] [<commit>]
13+ 'git reset' [ --soft | --mixed | --hard | --merge | --keep] [-q] [<commit>]
1414
1515DESCRIPTION
1616-----------
@@ -43,11 +43,11 @@ This means that `git reset -p` is the opposite of `git add -p`, i.e.
4343you can use it to selectively reset hunks. See the ``Interactive Mode''
4444section of linkgit:git-add[1] to learn how to operate the `--patch` mode.
4545
46- 'git reset' -- <mode> [<commit>]::
46+ 'git reset' [ <mode>] [<commit>]::
4747 This form resets the current branch head to <commit> and
4848 possibly updates the index (resetting it to the tree of <commit>) and
49- the working tree depending on <mode>, which
50- must be one of the following:
49+ the working tree depending on <mode>. If <mode> is omitted,
50+ defaults to "--mixed". The <mode> must be one of the following:
5151+
5252--
5353--soft::
You can’t perform that action at this time.
0 commit comments