]> asedeno.scripts.mit.edu Git - git.git/commitdiff
Documentation/git-reset.txt: suggest git commit --amend in example.
authorGerrit Pape <pape@smarden.org>
Mon, 23 Apr 2007 12:06:29 +0000 (12:06 +0000)
committerJunio C Hamano <junkio@cox.net>
Tue, 24 Apr 2007 06:55:08 +0000 (23:55 -0700)
In example 'Undo a commit and redo', refer to 'git commit --amend', as
this is the easier alternative.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-reset.txt

index 5b55cda512bbdb507486ac5d0db0d28e32b1dcb1..19c5b9bbda60744723e453dceaa209c47a49cb60 100644 (file)
@@ -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::
 +