Jump to content

Cli/ref/mw gitlab repo mirror

From mediawiki.org
< Cli | ref

mw gitlab repo mirror

[edit]

Mirror a project/repository to the specified location using pull or push method.

mw gitlab repo mirror [ID | URL | PATH] [flags]

Options

[edit]
      --allow-divergence          Determines if divergent refs are skipped.
      --direction string          Mirror direction (default "pull")
      --enabled                   Determines if the mirror is enabled. (default true)
      --protected-branches-only   Determines if only protected branches are mirrored.
      --url string                The target URL to which the repository is mirrored.

Options inherited from parent commands

[edit]
      --help             Help for this command
      --no-interaction   Do not ask any interactive questions
  -v, --verbose count    Increase output verbosity. Example: --verbose=2 or -vv

SEE ALSO

[edit]