Last active
December 15, 2015 02:27
-
-
Save waiteb3/f04a99bdad6ce970d12f to your computer and use it in GitHub Desktop.
Install my recommended git-hooks with `curl ... | sh`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# TODO | |
# findGitDir() { | |
# } | |
install() { | |
set +x | |
curl https://gist.github.com/waiteb3/b694eea1e9b470bee1ee -o .git/hooks/pre-push | |
chmod +x .git/hooks/pre-push | |
set -x | |
} | |
install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment