I have a laptop which has some mandaotry global settings for git, and I have not been able to enable pre-commit. I also tried doing
git config --global init.templateDir ~/.git-template
pre-commit init-templatedir ~/.git-template
But still get the message
[ERROR] Cowardly refusing to install hooks with `core.hooksPath` set.
hint: `git config --unset-all core.hooksPath`
Is there any work arounds for this?
I have a laptop which has some mandaotry global settings for git, and I have not been able to enable pre-commit. I also tried doing
But still get the message
Is there any work arounds for this?