-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cz opens editor after CLI successfully build commit message #907
Comments
If you add this hook, you should use BTW: This is not recommended to add this hook
|
@Zhengqbbb i have all hooks, following git workflow.
even though with or without commit-msg when |
Let's see why Anyway, this hook is triggered once the commit message is added, and the hook running the command will eventually become https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks search text: BTW As a CLI shouldn't use that hook for launching, I think it's wrong |
ref: #934 (comment)
|
I'm using husky, commitzen and commitlint to setup my commit messages.
i added a prepare-commit-msg hook on husky to create my commit using commitzen cli. It all works perfectly, but when i finish my message on cli it opens the editor, and only when i close the editor it successfully create my commit.
The text was updated successfully, but these errors were encountered: