Answer the question
In order to leave comments, you need to log in
Why doesn't PHPStorm trigger a pre-commit hook?
Hello.
Why doesn't PHPStorm trigger pre-commit hook during UI commit?
At kommit through the terminal
Everything works.
If we commit through the IDE - Ctrl+K - the commit goes through, but the pre-commit hook doesn't work. And the Run Git hooks checkbox is enabled. Moreover, if you copy the command that is executed in the terminal during a GUI commit in the IDE and run it manually, pre-commit works.
Any ideas?
Thank you. git commit -m "Some message"
Answer the question
In order to leave comments, you need to log in
jetbrains products are full of bugs. It is possible that this is him. Create an issue at https://youtrack.jetbrains.com/issues
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question