Skip to content
Browse files

Improve comments

  • Loading branch information...
1 parent da65d6e commit 03b54fdd9a96b5cc7e8ee67a02de232df7c0a57e @ithinkihaveacat committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 home/.gitconfig
View
3 home/.gitconfig
@@ -21,6 +21,9 @@
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
+
+ # "git rev-parse" not completely correct; see the __gitdir alias in:
+ # https://raw.github.com/git/git/master/contrib/completion/git-completion.bash
updatehooks = !rm -rf $(git rev-parse --git-dir)/hooks && cp -a $CONFIGROOT/templates/hooks $(git rev-parse --git-dir)
# http://stackoverflow.com/a/10693888/11543

0 comments on commit 03b54fd

Please sign in to comment.
Something went wrong with that request. Please try again.