Is it possible to set 'git commit' options?

I'm using a git pre-commit hook locally to run tests prior to code getting commited. Occassionally I'd like to skip the pre-commit hook and I usually use the '--no-verify' option. Is there a way to do this in IDEA?



No, currently there is no way to do it in IDEA.

And to be honest, there is little possibility that we'll add such an option in future.
I think in time we'll add a possibility to customize commands which IDEA sends to Git, but for commit it would affect all commits that user would performed from IDEA. Adding the option you propose would require to add a one more checkbox for a rather rare case, and we don't want to do it because the UI may become cluttered very soon.


The problem is external pre-commit hooks get in the way.


Please sign in to leave a comment.