Skip to content

Commit cf9d58e

Browse files
mcostalbagitster
authored andcommitted
Document git-reset defaults to HEAD if no commit is given
Signed-off by: Marco Costalba <mcostalba@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent cae6c25 commit cf9d58e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/git-reset.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SYNOPSIS
99
--------
1010
[verse]
1111
'git-reset' [--mixed | --soft | --hard] [-q] [<commit>]
12-
'git-reset' [--mixed] [-q] <commit> [--] <paths>...
12+
'git-reset' [--mixed] [-q] [<commit>] [--] <paths>...
1313

1414
DESCRIPTION
1515
-----------
@@ -49,7 +49,7 @@ OPTIONS
4949
Be quiet, only report errors.
5050

5151
<commit>::
52-
Commit to make the current HEAD.
52+
Commit to make the current HEAD. If not given defaults to HEAD.
5353

5454
Examples
5555
--------

0 commit comments

Comments
 (0)