Examples of resetting.
[git.git] / Documentation / git-commit.txt
index b92cf48..8b91f22 100644 (file)
@@ -66,6 +66,10 @@ OPTIONS
        Update specified paths in the index file before committing.
 
 
+If you make a commit and then found a mistake immediately after
+that, you can recover from it with gitlink:git-reset[1].
+
+
 Author
 ------
 Written by Linus Torvalds <torvalds@osdl.org> and