Last active
June 5, 2019 10:57
-
-
Save aasanchez/61ba98e80cc36346fff83ea7a62a8cd1 to your computer and use it in GitHub Desktop.
Bit8 Install Hooks
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
#!/usr/bin/env bash | |
# curl -o- http://code.bit8.local/snippets/3/raw?_=$(date +%s) | bash | |
cd $(git rev-parse --git-dir) | |
rm -rf hookstar.gz git-hooks-master | |
curl http://code.bit8.local/alexis.sanchez/git-hooks/-/archive/master/git-hooks-master.tar.gz --output hooks.tar.gz --silent | |
tar xzf hooks.tar.gz | |
cp git-hooks-master/lib-hooks.sh hooks/lib-hooks.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment