Document git-reset defaults to HEAD if no commit is given
authorMarco Costalba <mcostalba@gmail.com>
Fri, 4 Jan 2008 09:53:32 +0000 (10:53 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 5 Jan 2008 06:01:28 +0000 (22:01 -0800)
Signed-off by: Marco Costalba <mcostalba@gmail.com>

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-reset.txt

index 050e4eadbb3d5b8f60edc173f2f17fdc959dde5d..69722d14d34a3f9de9d94ec7b48ae85995ce8625 100644 (file)
@@ -9,7 +9,7 @@ SYNOPSIS
 --------
 [verse]
 'git-reset' [--mixed | --soft | --hard] [-q] [<commit>]
-'git-reset' [--mixed] [-q] <commit> [--] <paths>...
+'git-reset' [--mixed] [-q] [<commit>] [--] <paths>...
 
 DESCRIPTION
 -----------
@@ -49,7 +49,7 @@ OPTIONS
        Be quiet, only report errors.
 
 <commit>::
-       Commit to make the current HEAD.
+       Commit to make the current HEAD. If not given defaults to HEAD.
 
 Examples
 --------