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>
This commit is contained in:
parent
cae6c25a7f
commit
cf9d58e4f3
@ -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
|
||||
--------
|
||||
|
Loading…
Reference in New Issue
Block a user