Back
GitHubLaunchGitHub2026-04-14

GitHub Launches Native Stacked PRs — The Feature That's Been a Third-Party Hack for Years

GitHub has launched gh-stack, a native CLI extension for creating and managing stacked pull requests — a workflow previously requiring third-party tools like Graphite or manually maintained branch chains. The feature is currently in private preview with a waitlist, and includes GitHub UI integration with a stack navigator, cascading rebases, and AI agent compatibility via the skills system.

Original source

## What Is Stacked PRs?

Stacked pull requests are a workflow where large changes are broken into a chain of smaller, reviewable PRs — each targeting the branch below it, all ultimately landing in main. It's how engineers at large tech companies (Facebook, Google) have worked for years, because it keeps individual review units small and focused. Outside of those environments, it's historically required significant manual branch management or third-party tooling.

## GitHub's Native Implementation

`gh stack` is a GitHub CLI extension that manages stacked branches locally and integrates them with GitHub's PR interface. The workflow:

1. Initialize a stack with `gh stack init` 2. Add branches with `gh stack add` 3. Push the full stack with `gh stack push` 4. Submit all PRs at once with `gh stack submit` — GitHub auto-configures base branches

The GitHub UI gains a **Stack Navigator** showing reviewers where they are in the chain and letting them move between layers. CI runs as if all PRs target main. When you merge part of a stack, remaining PRs automatically rebase.

## AI Integration

In a notable move, GitHub built in AI agent compatibility from day one: `npx skills add github/gh-stack` teaches Claude Code, Copilot, and other agents to work with stacks, suggest which layer a change belongs to, and draft per-layer PR descriptions. This is one of the first times a major platform feature has shipped with native skills integration.

## Availability

gh-stack is currently in private preview. Users can join the waitlist at github.github.com/gh-stack. The feature requires GitHub CLI v2.0+.

## Competitive Context

Graphite.dev has built a successful business around this exact workflow — their product has been the go-to stacked PR solution for years. GitHub going native with a free, first-party implementation is a direct competitive threat. Graphite's response will be interesting to watch.

Panel Takes

The Builder

The Builder

Developer Perspective

This is legitimately one of the most impactful GitHub features in years for teams doing serious code review. Stacked PRs dramatically reduce review context overload — reviewers only see the diff for their layer. The Graphite users I know have said the third-party UX was good but the GitHub integration gaps were a constant friction point.

The Skeptic

The Skeptic

Reality Check

Private preview with a waitlist means this won't reach most developers for months. And GitHub's history with 'native' versions of third-party tools (GitHub Actions vs. Jenkins, GitHub Packages vs. npm) suggests the v1 will be behind Graphite's feature set for a long time. Graphite isn't dead — it just needs to keep adding value above the baseline.

The Futurist

The Futurist

Big Picture

The AI skills integration is the most interesting signal here. GitHub is teaching the feature to AI agents at launch, which means stacked PRs will be a first-class pattern in AI-assisted development from day one. This could normalize the workflow for an entire generation of developers who would never have discovered it through Graphite.