glab(1) glab(1)

glab-stack-delete - Delete a stack. (EXPERIMENTAL)

glab stack delete [] [flags]

Removes the stack's local metadata from the .git/stacked directory. Use this command to clean up stacks for merged or abandoned merge requests. Branches, commits, and merge requests are not affected.

If you do not provide a stack name, the command shows a list of stacks for you to choose from.

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

-y, --yes[=false] Skip the confirmation prompt.

-h, --help[=false] Show help for this command.

-R, --repo="" Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.

# Interactively pick from the list of available stacks
glab stack delete
# Delete a specific stack by name
glab stack delete <stack-name>
# Delete a specific stack without the confirmation prompt
glab stack delete <stack-name> -y

glab-stack(1)

Oct 2026 Auto generated by spf13/cobra