Browse Source

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 17 years ago committed by Junio C Hamano
parent
commit
cf9d58e4f3
  1. 4
      Documentation/git-reset.txt

4
Documentation/git-reset.txt

@ -9,7 +9,7 @@ SYNOPSIS @@ -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 @@ -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…
Cancel
Save