[Feature Request] Execute pre-commit hooks before prompting for the message
Description
If any pre-commit hook fails, the commitizen message is lost and you need to run cz c --retry.
Possible Solution
If the hooks are run before prompting the user for input this would be avoided. Plus is the default git behavior.
It's a great idea! I also suffer from this time to time.
After a second through, I'm not sure it's a good idea. commitizen works more like git commit -m instead of git commit and then enter an editor. I don't think we should actively trigger pre-commit before commitizen. Currently, I can not think of other good solutions for it.
@Lee-W we should at least make the --retry option more prominent in the README. This leads to a lot less headaches.
@alecgerona I just add a new issue so that we won't forget it. https://github.com/commitizen-tools/commitizen/issues/268