Permalink
Browse files

Add resethard alias

  • Loading branch information...
1 parent 1f6680a commit 6788664c875b2d5010fe7a1d0e5aafd33453239f @ithinkihaveacat committed Dec 7, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 home/.gitconfig
View
@@ -20,6 +20,7 @@
stat = status -sb
svnpull = !git diff --no-ext-diff --quiet --exit-code && ( git svn fetch && git svn rebase ) || ( git stash && git svn fetch && git svn rebase && git stash pop )
svnpush = !git diff --no-ext-diff --quiet --exit-code && ( git svn dcommit ) || ( git stash && git svn dcommit && git stash pop )
+ resethard = reset --hard HEAD
# http://stackoverflow.com/a/10693888/11543
branch-by-date = for-each-ref --sort=-committerdate refs/heads/ --format='%(refname:short) %(committerdate:short) %(authorname)'

0 comments on commit 6788664

Please sign in to comment.