We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This part of README has this:
"husky": { "hooks": { "prepare-commit-msg": "exec < /dev/tty && npx cz --hook || true" } }
But this hook does not work. When I use git commit - I get default behavior
git commit
If I put this in .husky/prepare-commit-msg:
#!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" exec < /dev/tty && npx cz --hook || true
And run git commit it works but after commitizen I see result commit in nano. How to fix this?
The text was updated successfully, but these errors were encountered:
@chenaski @pen4
Sorry, something went wrong.
Related to #934
@FreePhoenix888 make sure to have husky hooks are executable: chmod u+x ./.husky/prepare-commit-msg
chmod u+x ./.husky/prepare-commit-msg
Successfully merging a pull request may close this issue.
This part of README has this:
But this hook does not work. When I use
git commit
- I get default behaviorIf I put this in .husky/prepare-commit-msg:
And run
git commit
it works but after commitizen I see result commit in nano. How to fix this?The text was updated successfully, but these errors were encountered: