$ git config --list | grep hook
core.hookspath=.husky
$ find .husky -type f
.husky/_/.gitignore
.husky/_/husky.sh
.husky/pre-commit
$ find .husky -type f | xargs ls -l
-rw-rw-r-- 1 zunda zunda 1 May 2 09:36 .husky/_/.gitignore
-rw-r--r-- 1 zunda zunda 717 May 2 09:36 .husky/_/husky.sh
-rwxrwxr-x 1 zunda zunda 59 Mar 28 08:12 .husky/pre-commit
ふむ
$ chmod -x .husky/pre-commit
$ git commit .husky/pre-commit -m 'Stop pre-commit hook'
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`.
[use-ruby32 0f1dbc8c52] Stop pre-commit hook
1 file changed, 0 insertions(+), 0 deletions(-)
mode change 100755 => 100644 .husky/pre-commit