正式なドキュメントは英語版であり、この日本語訳はAI支援翻訳により作成された参考用のものです。日本語訳の一部の内容は人間によるレビューがまだ行われていないため、翻訳のタイミングにより英語版との間に差異が生じることがあります。最新かつ正確な情報については、英語版をご参照ください。

glab repo fork

Fork a GitLab repository.

Synopsis

Defaults to the current repository if no repository is specified. Use --clone and --remote to skip the interactive prompts.

glab repo fork <repo> [flags]

Examples

glab repo fork
glab repo fork namespace/repo
glab repo fork namespace/repo --clone

Options

  -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

  -h, --help   Show help for this command.