glab(1)

πŸ’– glab(1) β€” the manual page, bestie πŸ’–

okay so this is the glab(1) manual page, and today’s main character is glab-stack β€” the stacked-diffs command. Yes, it’s giving β€œexperimental but iconic.” πŸ’…


✨ NAME ✨

glab-stack β€” Create, manage, and work with stacked diffs. (EXPERIMENTAL) 🧚


🌸 SYNOPSIS 🌸

glab stack  [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

Use stacked diffs to split a feature into small, dependent changes. Reviewers can review and merge earlier changes while you keep building on top of them. Slay, honestly. πŸ’–

Each stack contains diffs. Each diff is one commit on its own branch, built on the branch of the previous diff. When you run glab stack sync, each diff becomes a merge request that targets the branch of the previous diff. The first diff targets the base branch. No cap, that’s the whole stacked-diff vibe. ✨

The glab stack commands act on the stack you last created or switched to, regardless of which branch you have checked out. Lowkey convenient, highkey important. 🫢

🚨 This feature is an experiment and is not ready for production use. It might be unstable or removed at any time. For more information, see https://docs.gitlab.com/policy/development_stages_support/. Bestie, please read that warning fr fr. πŸ’€

πŸ’… OPTIONS πŸ’…

  • -R, --repo="" β€” Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. πŸŽ€

πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS πŸ‘‘

  • -h, --help[=false] β€” Show help for this command. Our little helper icon. 🌟

🌈 EXAMPLE 🌈

glab stack create cool-new-feature
glab stack sync

πŸ”₯ SEE ALSO πŸ”₯


Auto generated by spf13/cobra, dated Nov 2026, and this is the glab(1) page. Byeee, go stack those diffs responsibly πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from