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>
maint
Marco Costalba 2008-01-04 10:53:32 +01:00 committed by Junio C Hamano
parent cae6c25a7f
commit cf9d58e4f3
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ SYNOPSIS
-------- --------
[verse] [verse]
'git-reset' [--mixed | --soft | --hard] [-q] [<commit>] 'git-reset' [--mixed | --soft | --hard] [-q] [<commit>]
'git-reset' [--mixed] [-q] <commit> [--] <paths>... 'git-reset' [--mixed] [-q] [<commit>] [--] <paths>...


DESCRIPTION DESCRIPTION
----------- -----------
@ -49,7 +49,7 @@ OPTIONS
Be quiet, only report errors. Be quiet, only report errors.


<commit>:: <commit>::
Commit to make the current HEAD. Commit to make the current HEAD. If not given defaults to HEAD.


Examples Examples
-------- --------