Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add resethard alias

  • Loading branch information...
commit 6788664c875b2d5010fe7a1d0e5aafd33453239f 1 parent 1f6680a
@ithinkihaveacat authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  home/.gitconfig
View
1  home/.gitconfig
@@ -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)'
Please sign in to comment.
Something went wrong with that request. Please try again.