\--no-verify
option. It takes no parameter, and is
invoked before obtaining the proposed commit log message and
making a commit. Exiting with non-zero status from this script
causes the 'git-commit' to abort.Reference :
Git pre-commit hook
Python, PEP8 and Git hooks
沒有留言:
張貼留言