Cli/ref/mw gitlab repo mirror
Appearance
mw gitlab repo mirror
[edit]Mirror a project or repository to the specified location, using pull or push methods.
mw gitlab repo mirror [ID | URL | PATH] [flags]
Options
[edit] --allow-divergence Determines if divergent refs are skipped.
--direction string Mirror direction. Options: pull, push. (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]- mw gitlab repo - Work with GitLab repositories and projects.