commitizen / cz-conventional-changelog

A commitizen adapter for the angular preset of https://github.com/conventional-changelog/conventional-changelog
MIT License
766 stars 441 forks source link

Not working when we are commiting with GIT GUI #51

Open krishna63 opened 7 years ago

krishna63 commented 7 years ago

Hi Every one,

I have used husky and commitizen in my project, when i try to make some commits , from git bash it is executing the hooks properly by prompting the questions (which is expected ), but when i try to commit from GIT GUI , it is skipping the "commitmsg" hook which in turn triggers "cz-conventional-changelog" to prompt the required questionaire.

Kindly help me out .

jimthedev commented 7 years ago

I think the git gui might run with --no-verify which skips all commit hooks. I don't think is a use case we can support since the gui's themselves essentially skip over us. I do have ambitions to write a new version of commitizen in which adapters would be required to export static information about the possible permutations of the prompt tree. This would allow tooling to guis to dynamically generate user interfaces to guide the user towards a final commit message. No time right now unfortunately. :(