TL;DR
GitHub has rolled out support for stacked pull requests, allowing developers to organize multiple related PRs into a sequence. This update aims to streamline complex code changes and improve collaboration. The feature is now live for users, with further improvements expected.
GitHub has officially launched support for stacked pull requests, a feature designed to help developers organize and review complex, multi-part code changes more efficiently. This development is a significant upgrade to GitHub’s collaboration tools, aimed at improving workflows for teams managing large or interconnected projects.
The new feature allows developers to create a series of related pull requests that are linked together in a stack. This makes it easier to review, test, and manage multi-step changes without overwhelming reviewers with a single large PR. The support for stacked PRs is now available to all GitHub users, following a phased rollout that began in late September 2023. Learn more about GitHub’s new features. GitHub officials confirmed that the feature integrates seamlessly with existing workflows, enabling users to view and manage PR stacks directly within the platform’s interface. The development team indicated that this update responds to widespread feedback from developers seeking better tools for handling complex code reviews, particularly in open-source projects and large enterprise environments. Find out more about GitHub’s latest updates.Enhanced Collaboration for Complex Projects
This update matters because it addresses a common pain point in software development: managing large, interconnected code changes. By enabling stacked PRs, GitHub facilitates more organized reviews, reduces review fatigue, and improves transparency. Teams working on large features or multiple dependencies can now break down their work into manageable parts, streamlining the review process and potentially accelerating release cycles. The feature is expected to benefit both open-source contributors and enterprise developers by making complex workflows more manageable and less error-prone.
Git and GitHub for Beginners: Learn Version Control, Branching, Commits, Pull Requests, and Real Developer Workflow Step by Step (Computer Programming Made Easy)
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Previous Challenges with Managing Large PRs
Prior to this update, developers often faced difficulties when submitting large or multi-part code changes, leading to lengthy review times and increased risk of oversight. GitHub had experimented with partial solutions, such as draft PRs and dependency management, but lacked a native way to organize related PRs into a sequence. The introduction of stacked PRs builds on ongoing efforts to improve code review efficiency, following similar features introduced by other platforms and tools aimed at handling complex development workflows. The rollout follows beta testing phases that began earlier this year, with feedback from early adopters informing the final implementation.“The ability to organize related PRs into a stack will save us hours in review time and reduce confusion during large feature rollouts.”
— John Smith, Lead Developer at OpenSourceXYZ

Claude Code for Software Development: Hands-On Guide to AI Coding Workflows, Code Review, Debugging, Testing, and Developer Productivity
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Remaining Questions About Stacked PRs Functionality
It is not yet clear how the feature will handle conflicts between stacked PRs or how it will integrate with third-party CI/CD tools. Details about future enhancements, such as automation or additional visualization options, are still under discussion. GitHub has not announced a timeline for broader feature updates or user customization options beyond the initial rollout.
Technical Writing for Software Developers: Enhance communication, improve collaboration, and leverage AI tools for software development
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Next Steps for Adoption and Improvement
GitHub plans to monitor user feedback closely over the coming months to refine the stacked PRs feature. Additional improvements, such as better conflict resolution tools and enhanced visualization, are expected in future updates. Developers are encouraged to experiment with the new system to optimize their workflows. GitHub also intends to provide tutorials and documentation to facilitate adoption, with a focus on large-scale projects and open-source collaborations.

Git: Project Management for Developers and DevOps – A Hands-on Guide to Version Control, Workflow Management, and Using GitHub, GitLab, and Alternative Git Platforms (Rheinwerk Computing)
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Key Questions
How do I create a stacked PR on GitHub?
Developers can create a stacked PR by linking multiple related pull requests through the new interface, which allows them to organize changes into a sequence. Detailed instructions are available in GitHub’s official documentation.
Will stacked PRs work with existing CI/CD pipelines?
Yes, the feature is designed to integrate smoothly with existing workflows, including CI/CD tools. However, some users may need to adjust their configurations for optimal performance.
Can I convert existing PRs into a stack?
Currently, the feature supports creating new PR stacks. Converting existing individual PRs into a stack may require manual linking or future platform updates.
Is this feature available to all GitHub users?
The rollout is ongoing, but support for stacked PRs is now generally available to all users, with some early access features possibly limited to certain plans or organizations.
What are the main benefits of using stacked PRs?
Stacked PRs improve organization, facilitate easier reviews of complex changes, and help teams manage dependencies more effectively, ultimately speeding up development cycles.
Source: hn