Create a file named "pre-commit-hook.sh" in project root, The plugin will run the hook before any commit with the file changed as arguments.
Recent change notes
0.4.0 - Added possibility to configure a path to a script 0.4.1 - Fixed running non-windows script on windows (python, perl, etc.)
General usage instructions
Create a file named pre-commit-hook.sh in your project root, exit with non-zero code to 'fail' the commit. See https://github.com/yahely/PreCommitHookPlugin/blob/master/README.md for more information.