# [PATCH] Documentation/git-reset.txt: suggest git commit --amend in example.

2 messages from 2007-04-23 to 2007-04-23. Participants: Gerrit Pape.
Thread: https://gitlist.dev/t/7794

## Gerrit Pape, 2007-04-23 12:06

Subject: [PATCH] Documentation/git-reset.txt: suggest git commit --amend in example.
Message-ID: <20070423120629.23521.qmail@b1f8866d714ca2.315fe32.mid.smarden.org>
URL: https://gitlist.dev/e/20070423120629.23521.qmail%40b1f8866d714ca2.315fe32.mid.smarden.org

```
Please see http://bugs.debian.org/420112

In example 'Undo a commit and redo', refer to 'git commit --amend', as
this is the easier alternative.
---
 Documentation/git-reset.txt |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Documentation/git-reset.txt b/Documentation/git-reset.txt
index 5b55cda..19c5b9b 100644
--- a/Documentation/git-reset.txt
+++ b/Documentation/git-reset.txt
@@ -67,6 +67,8 @@ message, or both.  Leaves working tree as it was before "reset".
 <3> "reset" copies the old head to .git/ORIG_HEAD; redo the
 commit by starting with its log message.  If you do not need to
 edit the message further, you can give -C option instead.
++
+See also the --amend option to gitlink:git-commit[1].
 
 Undo commits permanently::
 +
-- 
1.5.1.2

```

## Gerrit Pape, 2007-04-23 12:17

Subject: [PATCH] Documentation/git-reset.txt: suggest git commit --amend in example.
Message-ID: <20070423121725.24485.qmail@3bf9b110a1d717.315fe32.mid.smarden.org>
URL: https://gitlist.dev/e/20070423121725.24485.qmail%403bf9b110a1d717.315fe32.mid.smarden.org
In-Reply-To: <20070423120629.23521.qmail@b1f8866d714ca2.315fe32.mid.smarden.org>

```
Please see http://bugs.debian.org/420112

In example 'Undo a commit and redo', refer to 'git commit --amend', as
this is the easier alternative.

Signed-off-by: Gerrit Pape <pape@smarden.org>
---
 Documentation/git-reset.txt |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Documentation/git-reset.txt b/Documentation/git-reset.txt
index 5b55cda..19c5b9b 100644
--- a/Documentation/git-reset.txt
+++ b/Documentation/git-reset.txt
@@ -67,6 +67,8 @@ message, or both.  Leaves working tree as it was before "reset".
 <3> "reset" copies the old head to .git/ORIG_HEAD; redo the
 commit by starting with its log message.  If you do not need to
 edit the message further, you can give -C option instead.
++
+See also the --amend option to gitlink:git-commit[1].
 
 Undo commits permanently::
 +
-- 
1.5.1.2

```
