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 eitherOWNER/REPOorGROUP/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 π₯
glab(1)glab-stack-amend(1)glab-stack-create(1)glab-stack-delete(1)glab-stack-first(1)glab-stack-infer(1)glab-stack-last(1)glab-stack-list(1)glab-stack-move(1)glab-stack-next(1)glab-stack-prev(1)glab-stack-reorder(1)glab-stack-save(1)glab-stack-switch(1)glab-stack-sync(1)
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
- arch rolling: glab 1.128.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms