Add shared repositories.
Adds an item, given as <git-url>
to the shared repositories list. If
--local|--global
is given, then the githooks.shared
local/global Git
configuration is modified, or if the --shared
option (default) is set, the
.githooks/.shared.yaml
file is modified in the local repository.
git hooks shared add [flags] <git-url>
--shared Modify the shared hooks list `.githooks/.shared.yaml` (default).
--local Modify the shared hooks list in the local Git config.
--global Modify the shared hooks list in the global Git config.
-h, --help help for add
- git hooks shared - Manages the shared hook repositories.