Apr
03
2013
git hook post-commit

Inside your project, there is a .git directory


> cd ~/awesome_project/

> cat .git/hooks/post-commit

git show -C | mail -s "git  commit at `hostname`"  myemail@example.com

simple !

Tag(s): git