Stacked PRs are now live on GitHub

719 points · 248 comments on HN · read original →

Points and comments are a snapshot, not live.

GitHub launched stacked pull requests in public preview, enabling multi-PR stacks.

GitHub's new stacked PRs feature breaks large changes into an ordered series of small, reviewable pull requests. Users can review each layer independently, then merge all or part of the stack in one click. The feature includes a CLI extension (`gh stack`), stack map UI, and works with existing branch protections, merge queue, and required checks. It is rolling out to all repositories in public preview over the coming days, with merge queue support rolling out progressively.

What commenters are saying

Overall sentiment is positive, with many excited about native support. Several users share pro-tips: commenters recommend git-spice over Graphite for open-source stacking, and mention `git rebase --update-refs` for vanilla git. A notable bug report warns that squash-merging an entire stack is broken in some cases, requiring re-approval for each PR. The GitHub team acknowledges this is the top priority and says 99% of stack merges succeed but more fixes are rolling out.