< Cli < ref
mw gitlab repo mirror
Mirror a project/repository to the specified location using pull or push method.
mw gitlab repo mirror [ID | URL | PATH] [flags]
Options
--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
--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
- mw gitlab repo - Work with GitLab repositories and projects
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.