-
Notifications
You must be signed in to change notification settings - Fork 552
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
error: unknown option `hook' #661
Comments
@alialaa Had this issue. Updating commitizen to 4.0.3 fixed it for me. |
@Indimeco Are you sure? I am already using this version. |
Yeah, pretty sure this is how I fixed it yesterday. To my understanding the error is saying "you supplied an argument to git-cz that does not exist" i.e., I was using a version where --hook haden't been implemented yet. |
I had to rerun the commands |
@vicentelyrio thanks I did that and it worked |
Thanks a lot @vicentelyrio |
@vicentelyrio vlw meu amigo, to com mesmo problema |
Hello, I am trying to use 'git commit' using a husky hook as mentioned in the docs but I get
error: unknown option `hook'
when husky is trying to runexec < /dev/tty && git cz --hook
The text was updated successfully, but these errors were encountered: