Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
#!/bin/bash
while read LINE
do
grep -q "$LINE" <(git diff --cached) && echo "Fail words found: '$LINE'
Fix your commit damn it..." && exit 1
done < .git_fail_words
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.