Stacked pull requests 🥞
Use stacked pull requests to break large code changes into a chain of smaller, dependent pull requests you can review and merge independently.
Рекомендуемая конфигурация
About stacked pull requests
Break large code changes into a chain of smaller, dependent pull requests you can review and merge independently.
Quickstart for stacked pull requests
Install the gh stack extension in GitHub CLI and create your first set of stacked pull requests.
Stacked pull requests CLI commands
Find every command, flag, and exit code for the gh stack extension in GitHub CLI.
Статьи
About stacked pull requests
Break large code changes into a chain of smaller, dependent pull requests you can review and merge independently.
Creating stacked pull requests
Create a stack of dependent pull requests using the gh stack extension in GitHub CLI or directly on GitHub.
Managing stacked pull requests
Restructure stacked pull requests, rebase their branches, and make changes to lower layers using GitHub CLI.
Merging stacked pull requests
Merge a stack from the bottom up, individually, or in contiguous groups.
Optimizing CI for stacked pull requests
Understand how GitHub Actions workflows run for a stack, access stack metadata in your workflows, and reduce redundant CI usage.
Quickstart for stacked pull requests
Install the gh stack extension in GitHub CLI and create your first set of stacked pull requests.
Reviewing stacked pull requests
Address review feedback on a pull request anywhere in a stack and cascade your changes through the rest of the stack.
Roll out stacked pull requests to your organization
Plan and roll out stacked pull requests to your organization, so your teams can ship large changes as small, reviewable layers without compromising your existing rules and checks.
Stack AI-generated code in pull requests
Create a stack of small, dependent pull requests that can be quickly reviewed.