Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 815 Bytes

git_hooks_shared_add.md

File metadata and controls

30 lines (21 loc) · 815 Bytes

git hooks shared add

Add shared repositories.

Synopsis

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>

Options

      --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

SEE ALSO

Auto generated by spf13/cobra