Skip to content

Instantly share code, notes, and snippets.

@ajcastro
Last active January 6, 2016 03:22
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 ajcastro/9d4215ad70f986191321 to your computer and use it in GitHub Desktop.
Save ajcastro/9d4215ad70f986191321 to your computer and use it in GitHub Desktop.
http://codeinthehole.com/writing/tips-for-using-a-git-pre-commit-hook/
Remember to chmod the .sh files for it to run.
Using php: http://carlosbuenosvinos.com/write-your-git-hooks-in-php-and-keep-them-under-git-control/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment