# [PATCH] Document git-reset defaults to HEAD if no commit is given

2 messages from 2008-01-04 to 2008-01-05. Participants: Marco Costalba, Junio C Hamano.
Thread: https://gitlist.dev/t/11469

## Marco Costalba, 2008-01-04 09:53

Subject: [PATCH] Document git-reset defaults to HEAD if no commit is given
Message-ID: <e5bfff550801040153m433d9880g4a7a6d4168d5365f@mail.gmail.com>
URL: https://gitlist.dev/e/e5bfff550801040153m433d9880g4a7a6d4168d5365f%40mail.gmail.com

```
Signed-off by: Marco Costalba <mcostalba@gmail.com>
---
 Documentation/git-reset.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/git-reset.txt b/Documentation/git-reset.txt
index 050e4ea..69722d1 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
 --------
-- 
1.5.4.rc2.20.gab44

```

## Junio C Hamano, 2008-01-05 06:01

Subject: Re: [PATCH] Document git-reset defaults to HEAD if no commit is given
Message-ID: <7vfxxcg69q.fsf@gitster.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vfxxcg69q.fsf%40gitster.siamese.dyndns.org
In-Reply-To: <e5bfff550801040153m433d9880g4a7a6d4168d5365f@mail.gmail.com>

```
Thanks.

```
