# simple git pre-commit hook to prevent checkins of stuff marked @NOCHECKINif test "$(git diff --cached | grep ^\+.*@NOCHECKIN)"then echo "@NOCHECKIN detected" exit 1fi
No comments:
Post a Comment