-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
.husky/_/commit-msg
not triggered with git commit -m "test"
#1440
Comments
Commands should be put in |
what is _ folder then where can I read about it ? |
It's a directory owned by husky to put necessary files for it to work. Consider it like node_modules. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: