Jump to content

Cli/ref/mw gitlab repo fork

From mediawiki.org
< Cli | ref

mw gitlab repo fork

[edit]

Fork a GitLab repository.

mw gitlab repo fork <repo> [flags]

Examples

[edit]
glab repo fork
glab repo fork namespace/repo
glab repo fork namespace/repo --clone

Options

[edit]
  -c, --clone         Clone the fork. Options: true, false.
  -n, --name string   The name assigned to the new project after forking.
  -p, --path string   The path assigned to the new project after forking.
      --remote        Add a remote for the fork. Options: true, false.

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]