git_hooks_config_skip-untrusted-hooks.md
March 30, 2024 ยท View on GitHub
git hooks config skip-untrusted-hooks
Enable/disable skipping active, untrusted hooks.
Synopsis
Enable or disable failing hooks with an error when any active, untrusted hooks are present. Mostly wanted if all hooks must be executed.
git hooks config skip-untrusted-hooks [flags]
Options
--print Print the setting.
--enable Enable skipping active, untrusted hooks.
--disable Disable skipping active, untrusted hooks.
--reset Reset skipping active, untrusted hooks.
--local Use the local Git configuration (default, except for `--print`).
--global Use the global Git configuration.
-h, --help help for skip-untrusted-hooks
SEE ALSO
- git hooks config - Manages various Githooks configuration.