Stacked pull requests are a chain of dependent PRs where each one builds on the branch of the previous. A large change is split into small steps, reviewed independently, and merged from the bottom of the stack up. When GitHub says a PR is part of a pull request stack, or a tool tells you to start one, this is what it means: your PR targets another PR’s branch instead of main.
How do stacked pull requests work?
Instead of one feature branch targeting main, you cut a chain: branch A off main, branch B off A, branch C off B. Each branch becomes a pull request whose base is the branch below it, so every diff shows only that step. Say you are adding an export feature: PR one adds the data model, PR two the API endpoint on top of it, PR three the UI on top of that. Review and merge run bottom up. PR one merges into main first; PR two is then retargeted onto main and merged; PR three follows. When a lower PR changes in response to review, the branches above it are rebased so the stack stays consistent. That rebase cascade is the tax the whole workflow lives with, and we will come back to it.
How do I start a pull request stack on GitHub?
Open the first pull request against your default branch. Open the second with its base set to the first one’s branch, then select Create stack to link the two, per GitHub’s docs on creating stacked pull requests.
What are stacked pull requests for?
Small diffs get better reviews; that is one of the most consistent findings in review practice, and it is the core argument in our guide to how big a pull request should be. The problem is that real features are often irreducibly large. Without a stack, the author faces a bad choice: ship one huge PR that gets skimmed, or sit blocked waiting for each small PR to merge before starting the next. Stacking removes the wait. The author keeps building on their own unmerged work while review proceeds underneath, and each reviewer gets a diff sized for actual reading. It is the same instinct behind atomic commits, promoted from commit granularity to PR granularity.
What tools support stacking?
GitHub supports stacks natively. As InfoWorld reported, GitHub added stacked pull requests to speed up review of complex changes. The feature opened as a public preview on 30 July 2026 and has been generally available on every github.com plan since 6 October 2026. The PR page shows a stack map, and when a lower PR merges, the ones above it retarget automatically. The official gh stack CLI extension handles the local side; every command is in our gh stack command reference. Third-party tools (Graphite is the best known) automate the same bookkeeping: creating the chain, restacking after changes, and retargeting PRs as lower ones merge. And plain GitHub works too, manually, for shallow stacks. The broader tool landscape is covered in our roundup of GitHub PR review alternatives.
What are stacked merge requests on GitLab?
The same idea under GitLab’s name: a chain of merge requests where each one targets the branch below it. Since GitLab 19.1, on every tier, GitLab detects stacked merge requests from those chained target branches and lets you switch between them from the header. A stack holds up to 20 merge requests, and since 19.2 they must share an author. The matching CLI, glab stack, is still marked as an experiment.
What do stacks cost?
The honest ledger has three entries. First, rebase overhead: every change to a lower PR ripples upward, and without tooling you pay that in manual rebases and force-pushes. Second, review coordination: reviewers of PR three are looking at code built on unreviewed foundations, and feedback on PR one can invalidate work above it. Third, platform friction: force-pushing rebased branches can confuse review state, resetting what reviewers had already read. None of this is disqualifying, but it means stacks are a deliberate practice, not a free upgrade. Use them when the work is genuinely large and sequential, keep each layer independently understandable, and let the bottom of the stack merge fast. A stack whose base PR sits unreviewed for a week is just a big PR with extra steps.
Frequently asked questions
Can you create stacked pull requests on GitHub without extra tools?
Yes. Since October 2026 GitHub supports stacks natively: build them on the website, with the gh stack extension, or through the API, and GitHub keeps the bases and rebases in order. Without that, you can open each branch against the one below it and retarget as you merge from the bottom, but keeping a hand-made stack rebased gets tedious past two or three PRs.
How is a stacked pull request different from a normal branch with many commits?
A multi-commit branch still lands as one pull request with one review and one merge. A stack splits the same work into separate PRs, each with its own reviewer, discussion, CI run, and merge, so review happens in small units while the work stays connected.
When are stacked pull requests not worth it?
When the change is already small, or when the pieces are truly independent and could just be separate unrelated PRs. Stacks pay off when work is large and sequential. If your team rarely reviews within a day, the coordination cost of a stack can exceed its benefit.