Last active
December 15, 2015 07:19
-
-
Save lucasmotta/5222116 to your computer and use it in GitHub Desktop.
Install the post-commit script on your .git repository. Don't forget that you need to be in the root folder of where your .git repository is.
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
curl -o .git/hooks/post-commit https://gist.github.com/lucasmotta/4636472/raw/29efcf2a4bf2bec7901b022b7d1f9c0300cd0279/post-commit.sh && sudo chmod 755 .git/hooks/post-commit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment