---
name: "glab-stack-last"
section: "1"
platform: "linux"
package: "glab"
version: "1.126.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/glab-stack-last"
---

# glab-stack-last(1)

Move to the last diff in the stack. (EXPERIMENTAL)

## NAME

glab-stack-last - Move to the last diff in the stack. (EXPERIMENTAL)

## SYNOPSIS

**glab stack last \[flags\]**

## DESCRIPTION

Checks out the branch of the last diff in the stack.

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 INHERITED FROM PARENT COMMANDS

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

## EXAMPLE

```
glab stack last
```

## SEE ALSO

**[glab-stack(1)](/glab-stack/1.md)**
