glab-repo-fork1
Fork a gitlab repository.
Usage
glab repo
fork
[]
[flags]
Overview
Defaults to the current repository if no repository is specified. Use --clone and --remote to skip the interactive prompts.
Options
-c, --clone[=false]
Clone the fork. Options: true, false.
-n, --name=""
The name assigned to the new project after forking.
-p, --path=""
The path assigned to the new project after forking.
--remote[=false]
Add a remote for the fork. Options: true, false.
Options inherited from parent commands
-h, --help[=false]
Show help for this command.
Examples
glab repo fork glab repo fork namespace/repo glab repo fork namespace/repo --clone
History
- Arch Linux 2026-11-01: the text shown here
- Debian 13 (Trixie)