Created
October 8, 2019 12:41
-
-
Save jknair0/efd0c3720557691281a0556ce158ba0e to your computer and use it in GitHub Desktop.
script to run before using .githooks folder as primary hooks folder to share between teams
This file contains hidden or 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/bash | |
git config core.hooksPath .githooks | |
chmod +x ./.githooks/* | |
echo "Successfully added git-hooks!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment