glab(1)

glab(1) πŸ’… β€” the glab manual, but make it cute

🌸 NAME 🌸

glab-repo-fork β€” fork a GitLab repository. That's the whole assignment, bestie. πŸ’–

✨ SYNOPSIS ✨

glab repo fork [] [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so if no repository is specified, it defaults to the current repository β€” no cap, it just uses where you're at. Use --clone and --remote to skip the interactive prompts. That's the tea. β˜•

πŸŽ€ 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 🫢

These come from the parent command, iykyk:

  • -h, --help[=false] β€” show help for this command.

πŸ”₯ EXAMPLE πŸ”₯

lowkey just copy-paste these, fr fr:

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

🌈 SEE ALSO 🌈

  • glab-repo(1) β€” go read the parent page too, bestie. πŸ‘‘

source/version: spf13/cobra ✨ date: Nov 2026 ✨ manual: glab(1) β€” bye bestie, slay your forks πŸ’–

πŸ“¦ where this page comes from