Pre Commit Hook Plugin
JetBrainsyahel_yechieli_gmail_com · v—
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.
Rating distribution
Reviews 8
It's a good plugin, I used it for a very long time for complex scripts, re-signing the code, but now I noticed that everything was broken. I started to understand and it turned out that the plugin does not support the new version of CLion(((
Really useful plugin for running ANYTHING directly before any commit. Been waiting for this for ages, amazing!
Is there any chance to get this plugin running with actual IDE versions? It would be really cool!
Hi there, I'm getting an error saying Pre Commit Hook Plugin ** Pre commit hook exited with error:** Do you want to commit? Commit without running pre-commit-hook is not recommended. No/Yes all i've is two mvn commands to be executed in the file to format/clean/install. Also i've added permission to file file as chmod 777 pre-commit-hook.sh before pushing mvn fmt:format #mvn clean install
Would great if we were able to set the script for all projects rather than just the current one, not sure if that's something that could be done?
Would be great to have a `pre-push-hook` option as well! :-)
very useful tool, thanks! One thing though - The files being committed include also the deleted files, which is very inconvenient if you want to run a lint for instance. I'd solve it in the config or pass an indicator along with each file
Very useful plug in, but the .sh isn't helpful for Windows users. Would it be possible to make the name and type of time to be executed configurable? If I could kick off a pre-commit-hook.bat or pre-commit-hook.cmd I'd be in heaven. Thank you!