.nh .TH "glab" "1" "Oct 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-stack-delete - Delete a stack. (EXPERIMENTAL) .SH SYNOPSIS \fBglab stack delete [] [flags]\fP .SH DESCRIPTION Removes the stack's local metadata from the \fB\&.git/stacked\fR directory. Use this command to clean up stacks for merged or abandoned merge requests. Branches, commits, and merge requests are not affected. .PP If you do not provide a stack name, the command shows a list of stacks for you to choose from. .PP 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/. .SH OPTIONS \fB-y\fP, \fB--yes\fP[=false] Skip the confirmation prompt. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB-h\fP, \fB--help\fP[=false] Show help for this command. .PP \fB-R\fP, \fB--repo\fP="" Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. .SH EXAMPLE .EX # Interactively pick from the list of available stacks glab stack delete # Delete a specific stack by name glab stack delete # Delete a specific stack without the confirmation prompt glab stack delete -y .EE .SH SEE ALSO \fBglab-stack(1)\fP