git.rst
changeset 2124 3afe57643e44
parent 2123 f98c2b2e6c07
child 2126 09e2e50d02aa
--- a/git.rst	Thu Apr 06 17:41:10 2017 +0300
+++ b/git.rst	Mon Apr 10 14:29:04 2017 +0300
@@ -251,6 +251,10 @@
 
   $ git rebase -i $REV
 
+To undo latest commit::
+
+  $ git reset HEAD~1
+
 Git analog of 'hg root'
 =======================
 ::