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>
Marco Costalba committed
Jan 4, 2008 at 10:53 UTC
cf9d58e4f388dc173b86143fbfe0eac114e3ed2f
1 file changed
+2
-2
Documentation/git-reset.txt
+2
-2
@@ -9,7 +9,7 @@ SYNOPSIS
9
--------
10
[verse]
11
'git-reset' [--mixed | --soft | --hard] [-q] [<commit>]
12
-'git-reset' [--mixed] [-q] <commit> [--] <paths>...
12
+'git-reset' [--mixed] [-q] [<commit>] [--] <paths>...
13
14
DESCRIPTION
15
-----------
@@ -49,7 +49,7 @@ OPTIONS
49
Be quiet, only report errors.
50
51
<commit>::
52
- Commit to make the current HEAD.
52
+ Commit to make the current HEAD. If not given defaults to HEAD.
53
54
Examples
55
--------