husky——The '.husky/pre-commit' hook was ignored because it's not set as executable

前言

系统:mac

hint: The '.husky/pre-commit' hook was ignored because it's not set as executable.
hint: You can disable this warning with `git config advice.ignoredHook false`.
hint: The '.husky/prepare-commit-msg' hook was ignored because it's not set as executable.
hint: You can disable this warning with `git config advice.ignoredHook false`.
hint: The '.husky/commit-msg' hook was ignored because it's not set as executable.
hint: You can disable this warning with `git config advice.ignoredHook false`.

内容

解决方案

chmod ug+x .husky/*
posted @ 2023-11-13 10:44  。思索  阅读(473)  评论(0)    收藏  举报