Add a hook to prevent pushing commits with commit message "foo"
bobgilmore opened this issue · comments
Not certain what kind of hook that is, needs investigating.
To get the commit message for a commit:
git log -1 <hash> --pretty=format:%s
Think we want a pre-push hook. See http://git-scm.com/docs/githooks