glab stack switch | GitLab Docs


Switch between stacks. (EXPERIMENTAL)

Synopsis

Switch between stacks to work on another stack created with “glab stack create”. To see the list of all stacks, check the .git/stacked/ directory.

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/.

glab stack switch <stack-name> [flags]

Examples

glab stack switch <stack-name>

Options inherited from parent commands

  -h, --help              Show help for this command.
  -R, --repo OWNER/REPO   Select another repository. Can use either OWNER/REPO or `GROUP/NAMESPACE/REPO` format. Also accepts full URL or Git URL.