Git hooks : applying `git config core.hooksPath`
问题 I have a git repository with a pre-commit hook set up : my-repo |- .git |- hooks |- pre-commit # I made this file executable Until there, everything works. The hook is running when I commit. ================================= I now run git config core.hooksPath ./git-config/hooks in my-repo . The folder structure is this one : my-repo |- .git |- hooks |- git-config |- hooks |- pre-commit # I made this file executable as well What happens is : the new pre-commit script doesn't run on commit the