glab(1)
π¦ NAME π¦
glab-stack-switch β Switch between stacks. (EXPERIMENTAL)
okay so you're reading the glab(1) manual page for glab stack switch, and honestly? main character energy. this is the stack switcher, bestie, and yes it's marked EXPERIMENTAL β more on that in a sec π
π SYNOPSIS π
glab stack switch [stack-name] [flags]
π DESCRIPTION π
If you do not provide a stack name, the command shows a list of stacks for you to choose from. cute, right? no guessing required, just pick your fave β¨
After you switch, use glab stack move to check out a diff in the new stack. that's the follow-up move, iykyk π
π¨ experiment alert: 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/. fr fr, do not build your whole prod workflow on it yet π
π OPTIONS INHERITED FROM PARENT COMMANDS π
these flags come inherited from the parent commands, and they're lowkey important:
-h,--help[=false]β Show help for this command. when in doubt, ask for help, bestie π«Ά-R,--repo=""β Select another repository. You can use eitherOWNER/REPOorGROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. so many valid ways to point at a repo, we love options π
π₯ EXAMPLE π₯
run these exactly, bestie:
# Interactively pick from the list of available stacks.
glab stack switch
# Switch to a specific stack by name.
glab stack switch <stack-name>
π SEE ALSO π
glab-stack(1)β the parent page, go check it out π¦
okay that's the whole vibe π sign-off time: this page was auto generated by spf13/cobra, dated Nov 2026, and it's part of the glab(1) manual. mwah, bestie π
π¦ 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