Stacked pull requests are now in public preview

Stacked pull requests break large changes into small, reviewable pull requests. They are an ordered series of pull requests that each represent focused layers of a change. Teams can independently review and check each pull request, then merge everything together in one click.

Early tester quotes in the changelog include Tim Neutkens (Next.js / Vercel), John Resig (jQuery), Andy Merryman (TED CTO), and Mayank Saini (WHOOP).

Install CLI: gh extension install github/gh-stack

Stacks work on github.com, GitHub CLI, GitHub mobile, and with coding agents such as GitHub Copilot using the gh-stack skill. Merge the latest ready pull request to land it and every unmerged layer below it; open layers above stay open and automatically rebase and retarget. Existing branch protections and required checks still govern what reaches main.

Stacked pull requests are rolling out in public preview to all repositories over the coming days. Merge queue support for stacked pull requests is rolling out progressively over the coming weeks.