GitHub Launches Stacked Pull Requests into General Availability

Editorial illustration showing three luminous cyan glass plates stacked above a dark blue track on a slate gray surface.

GitHub has officially released stacked pull requests into general availability across all github.com tiers, allowing engineering teams to decompose large code revisions into connected, sequential pull requests. According to GitHub, repositories utilizing stacked pull requests during the public preview phase recorded a 9 percent rise in merged code alongside a 5 percent reduction in time-to-merge among top-tier repositories.

Workflow Automation and Queue Integration

The general availability release introduces technical updates to how stacked changes are handled during rebasing and merging. When a base branch moves ahead, GitHub's rebase functionality now preserves existing code review approvals for unchanged code. Rebased commits maintain their original author metadata and digital signatures. Furthermore, stacked pull requests can now enter and land through GitHub's merge queue as a single unified merge group, and automatic retargeting prevents bottom-level pull requests from closing when parent branches are deleted. GitHub is also rolling out an auto-merge capability for full stacks over the coming weeks.

Navigation and Timeline Visibility

To improve context tracking across dependent changes, GitHub has integrated permanent stack details into pull request header banners and repository list views. Developers can navigate sequentially through a stack using dedicated keyboard shortcuts. Visibility into stack lifecycles has also expanded through timeline events that track when pull requests join or leave a stack, supported by a new stacked action payload inside the pull request webhook system.

CLI Support and Enterprise Availability

For command-line execution, the gh stack extension for the GitHub CLI has received updates to support Git worktrees alongside performance enhancements to repository initialization, checkout, and navigation tasks. Stacked pull requests are currently active for all github.com plans, with support planned for an upcoming GitHub Enterprise Server release.

AI-generated editorial illustration; not a documentary photograph.

Source: Stacked pull requests generally available

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *