GitHub Native Support for Stacked PRs: Splitting AI-generated Giant PRs into Audit-friendly Small-step Commit Chains
On July 30, 2026, GitHub announced that Stacked Pull Requests had entered Public Preview. On August 4, the engineering blog detailed how to use the gh stack CLI and Agent Skill in conjunction to split large PRs generated by AI in one go into multiple small layered PRs according to dependencies. This article sorts out the pain points of reviewing giant PRs, the layered thinking, CLI getting-started commands, the Stack Map review strategy, as well as precautions for rebase and signed commits.
Read MoreGitHub Stacked PR Public Beta: Split large changes into independently reviewable small layers, merge the entire stack with one click
On July 30, 2026, GitHub announced that Stacked Pull Requests had entered public beta. This feature allows large code changes to be split into an ordered chain of PRs, supports parallel code reviews and one-click merging of the entire stack. Based on the official changelog and documentation, this article introduces the dependency chain structure of stacked PRs, the getting-started steps of the gh stack CLI, the web-side stack map, the integration of Copilot gh-stack skill, as well as Merge Queue support and usage restrictions.
Read MoreGitHub Stack PR Official Public Beta: gh stack CLI lets you split large changes into chains of independently reviewable small PRs
On July 30, 2026, GitHub announced that Stacked Pull Requests entered public beta. The supporting gh stack CLI extension allows splitting large changes into a chain of dependent small PRs, enabling independent review for each layer and one-click merging of the entire stack, with native integration with Branch Protection and Merge Queue. Based on the official Changelog and documentation, this article introduces the concept of stacked PRs, installation commands, the workflow from init to submit, as well as the collaboration method with Trunk-based Development.
Read More