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
10
10
[verse]
11
11
'git reset' [-q] [<commit>] [--] <paths>...
12
12
'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>]
14
14
15
15
DESCRIPTION
16
16
-----------
@@ -43,11 +43,11 @@ This means that `git reset -p` is the opposite of `git add -p`, i.e.
43
43
you can use it to selectively reset hunks. See the ``Interactive Mode''
44
44
section of linkgit:git-add[1] to learn how to operate the `--patch` mode.
45
45
46
- 'git reset' -- <mode> [<commit>]::
46
+ 'git reset' [ <mode>] [<commit>]::
47
47
This form resets the current branch head to <commit> and
48
48
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:
51
51
+
52
52
--
53
53
--soft::
You can’t perform that action at this time.
0 commit comments