Pre-commit
- Prevent committing to
master
rather than a feature branch
Pre-push
- Run
coffeelint
on the app and spec directories - Print GitHub compare URL for the branch
npm install -g coffeelint
rm -r /path/to/my-repository/.git/hooks
ln -s /path/to/git-hooks/ /path/to/my-repository/.git/hooks