@matheusbsbs / matheus-bagliano / commits / 41728d6942
Fork 0

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 <junkio@cox.net>

Gerrit Pape committed Apr 23, 2007 at 12:06 UTC 41728d69426dd707d4978929f8f4ac7a16f115f3
1 file changed +2
Documentation/git-reset.txt
+2
@@ -67,6 +67,8 @@ message, or both. Leaves working tree as it was before "reset".
67 <3> "reset" copies the old head to .git/ORIG_HEAD; redo the
68 commit by starting with its log message. If you do not need to
69 edit the message further, you can give -C option instead.
70 ++
71 +See also the --amend option to gitlink:git-commit[1].
72
73 Undo commits permanently::
74 +