Skip to content

Instantly share code, notes, and snippets.

@lucasmotta
Last active December 15, 2015 07:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucasmotta/5222116 to your computer and use it in GitHub Desktop.
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.
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