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
.husky/_/commit-msg
git commit -m "test"
Troubleshoot
Context Please describe your issue and provide some context:
Ubuntu 22.04
Bash 5.1.16
git version 2.34.1
husky: 9.0.11
git config core.hooksPath
.husky/_
Steps to reproduce
#!/usr/bin/env sh . "${0%/*}/h" echo "test $1" exit 1
git commit -m "testing"
Expected behavior: fail the git commit.
Thank you!
The text was updated successfully, but these errors were encountered:
Commands should be put in .husky/commit-msg
.husky/commit-msg
Sorry, something went wrong.
No branches or pull requests
Troubleshoot
https://typicode.github.io/husky/troubleshoot.html
Context
Please describe your issue and provide some context:
Ubuntu 22.04
,Bash 5.1.16
,git version 2.34.1
,husky: 9.0.11
git config core.hooksPath
gives:.husky/_
Steps to reproduce
.husky/_/commit-msg
with the below:git commit -m "testing"
Expected behavior: fail the git commit.
Thank you!
The text was updated successfully, but these errors were encountered: