错误log:
hint: the '.husky/pre-commit' hook was ignored because its not set as executable.
hint: You can disable this warning with git config advice.ignoredhook false
原因:mac对这种husky的指令是不成效的,所以思路是如何改变权限
解决:chmod 777 .husky/*
错误的解决方案:./husky/pre-commit
04-24
04-08