Permalink
Browse files

gdrop

  • Loading branch information...
1 parent 6325447 commit fb57f5cacc7605097e406b2e728645cfd9bdf71e @jakub-g committed Mar 6, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 git.profile
View
@@ -149,6 +149,9 @@ alias gaaa='git add -A .'
# Usage: gunstage foo.txt
alias gunstage='git reset HEAD'
+# Get rid of the last commit.
+alias gdrop='git reset --hard HEAD^'
+
# ======================================================
# committing
# ======================================================

0 comments on commit fb57f5c

Please sign in to comment.