summaryrefslogtreecommitdiff
path: root/Documentation/git-reset.txt
diff options
context:
space:
mode:
authorMarco Costalba <mcostalba@gmail.com>2008-01-04 10:53:32 +0100
committerJunio C Hamano <gitster@pobox.com>2008-01-04 22:01:28 -0800
commitcf9d58e4f388dc173b86143fbfe0eac114e3ed2f (patch)
tree85d154a436d32fbb71fb5e376f578359270ebff3 /Documentation/git-reset.txt
parentcae6c25a7fdd7a316318c2efdc48e63cce36a68c (diff)
downloadgit-cf9d58e4f388dc173b86143fbfe0eac114e3ed2f.tar.gz
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>
Diffstat (limited to 'Documentation/git-reset.txt')
-rw-r--r--Documentation/git-reset.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-reset.txt b/Documentation/git-reset.txt
index 050e4eadbb..69722d14d3 100644
--- a/Documentation/git-reset.txt
+++ b/Documentation/git-reset.txt
@@ -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
--------