Skip to content
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

Can't commit with Husky installed #7

Open
ghost opened this issue Apr 13, 2022 · 2 comments
Open

Can't commit with Husky installed #7

ghost opened this issue Apr 13, 2022 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 13, 2022

For some reason it would run my tests and everything would succeed, but the commit wouldn't happen. This is with a copy of the repository after I removed the .git directory and did 'git init' and committed an initial commit, then installed packages.

@ghost
Copy link
Author

ghost commented Apr 14, 2022

I removed the .husky directory and I could commit again.

@doughlass
Copy link

You likely need to give .husky/* the proper permissions.

chmod +x .husky/*

Like this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant