From: Gerrit Pape Date: Mon, 23 Apr 2007 12:06:29 +0000 (+0000) Subject: Documentation/git-reset.txt: suggest git commit --amend in example. X-Git-Tag: v1.5.1.3~41 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=41728d69426dd707d4978929f8f4ac7a16f115f3;p=git.git Documentation/git-reset.txt: suggest git commit --amend in example. In example 'Undo a commit and redo', refer to 'git commit --amend', as this is the easier alternative. Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-reset.txt b/Documentation/git-reset.txt index 5b55cda51..19c5b9bbd 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:: +