Reassigning the location of hooks:
git config --global core.hooksPath ./.githooks
Prints all git global settings to the console,
after changing the location of git hooks,
in the settings core.hookspath=./.githooks
appears:
git config --global --list
Returns the default value of the core.hookspath
config:
git config --global --unset core.hooksPath
- post-merge
- post-index-change
- post-index-change
- pre-commit
- prepare-commit-msg
- commit-msg
- post-commit
- pre-push