We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dfc44bf + 1b2eee9 commit f3ac7e3Copy full SHA for f3ac7e3
Documentation/config/core.adoc
@@ -512,6 +512,11 @@ centrally configure your Git hooks instead of configuring them on a
512
per-repository basis, or as a more flexible and centralized
513
alternative to having an `init.templateDir` where you've changed
514
default hooks.
515
++
516
+You can also disable all hooks entirely by setting `core.hooksPath`
517
+to `/dev/null`. This is usually only advisable for expert users and
518
+on a per-command basis using configuration parameters of the form
519
+`git -c core.hooksPath=/dev/null ...`.
520
521
core.editor::
522
Commands such as `commit` and `tag` that let you edit
0 commit comments