Pre Commit Hook Plugin

Compatible with: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion Gogland DataGrip Rider MPS Android Studio
Dec 09, 2016
1 343
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.

Download plugin

Recent change notes

0.1 - Pre Commit Hook Handler Initial Commit 0.2 - Added Progress Indicator 0.3 - Added Skip Buttons 0.3.1 - Fixed null pointer when committing a deleted file

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.