git_hooks_config_shared.md
March 30, 2024 ยท View on GitHub
git hooks config shared
Updates the list of local or global shared hook repositories.
Synopsis
Updates the list of local or global shared hook repositories.
The --add option accepts multiple <git-url> arguments, each containing a
clone URL of a shared hook repository which gets added.
git hooks config shared [flags] [<git-url>...]
Options
--local Use the local Git configuration.
--global Use the global Git configuration (default).
--print Print the setting.
--add Adds given shared hook repositories `<git-url>`s.
--reset Reset the setting.
-h, --help help for shared
SEE ALSO
- git hooks config - Manages various Githooks configuration.