GitHub Stacked PRs

https://github.github.com/gh-stack/

Article

  • GitHub officially supports stacked PRs: ordered chains of small, reviewable PRs
  • CLI tool gh stack manages branch creation, rebasing, pushing, and PR creation
  • Stack map navigation in UI with branch protection and CI across entire stack
  • Can merge whole or partial stacks; remaining PRs auto-rebase after each merge

Discussion

  • Phabricator/Gerrit users ecstatic; GitHub finally catching up to stacked-diff workflow
  • Some argue native git already supports this with recent additions
  • Graphite (YC startup) built entire business around this; may face competition now
  • Skeptics question whether this encourages bad practice vs. feature flags + small PRs

Discuss on HN


Type Link
Added Apr 13, 2026
Modified Apr 14, 2026