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

[hooks]: mac env ...hook was ignored because it's not set as executable. #71

Open
GeekQiaQia opened this issue May 2, 2022 · 1 comment
Labels
good first issue Good for newcomers

Comments

@GeekQiaQia
Copy link
Owner

hooks 在 windows 上是能够失常运行的,起初换成 mac 之后就不行了,提交时报错:

hint: The 'hooks/commit-msg' hook was ignored because it's not set as executable.

起因是 hooks 脚本默认为不可执行,所以须要将它设为可执行

chmod 700 .husky/*
@GeekQiaQia GeekQiaQia added the good first issue Good for newcomers label May 2, 2022
@GeekQiaQia
Copy link
Owner Author

reference

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

No branches or pull requests

1 participant