2012年3月29日 星期四

before git commit

This hook is invoked by 'git-commit', and can be bypassed with \--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

沒有留言:

張貼留言