---
name: "glab-stack-first"
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-first"
---

# glab-stack-first(1)

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

## NAME

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

## SYNOPSIS

**glab stack first \[flags\]**

## DESCRIPTION

Checks out the branch of the first 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 first
```

## SEE ALSO

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