glab-stack(1)
| glab(1) | glab(1) |
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.
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.
The glab stack commands act on the stack you last created or switched to, regardless of which branch you have checked out.
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/.
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.
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)
| Oct 2026 | Auto generated by spf13/cobra |
