Git Hook to Abort Commit If Any Error/Warning Exists in IntelliJ Project

 

Intellij Code Inspector git pre-commit script

Intellij Code Inspector git pre-commit script

Hello everyone,

I finally finished the code I have been working on for a few days.

This is a pre-commit hook for git and it will run Code Inspector of IntelliJ IDEA before every commit. If any error/warning exists, it will abort the commit.

More detailed information is in README file at GitHub :

GitHub – git-hooks by Gokhan Arik

 

Comments are closed.