Stacked pull requests - GitHub Docs
https://docs.github.com/en/pull-requests/how-tos/stacked-pull-requests • 153 KB fetched Open original page
Stacked pull requests - GitHub Docs Skip to main content
GitHub Docs Version: Free, Pro, & Team
Search or ask Copilot Search or ask Copilot
Select language: current language is English
Search or ask Copilot Search or ask Copilot
Open menu
Collapse sidebar Expand sidebar
Scroll breadcrumbs left
* Home
* Pull requests
* How-tos
* Stacked pull requests
Scroll breadcrumbs right
Pull requests
*
*
* Get started
* About pull requests
* About stacked PRs
* About forks
* Pull request quickstart
* Stacked PRs quickstart
* Review quickstart
* Concepts
* Write code
* Help others review your changes
* Give reviews
* Resolve reviews
* Deploy code
* How-tos
* Commit changes
* Manage branches
* Commit to PR branch from fork
* Create a commit with multiple authors
* Change a commit message
* Compare commits
* Troubleshoot commits
* Create pull requests
* Create a pull request
* Create stacked PRs
* Create a PR from a fork
* Draft pull requests
* Manage stacked PRs
* Update the head branch
* Change the base branch
* Request a PR review
* Stacked pull requests
* Review pull requests
* Check out a PR locally
* Review proposed changes
* Review stacked PRs
* Review dependency changes
* Comment on a PR
* Approve PRs
* View a PR review
* Dismiss a PR review
* Incorporate feedback
* Merge and close
* Resolve merge conflicts
* Resolve merge conflicts in Git
* Troubleshoot status checks
* Troubleshoot stacked PRs
* Merge a pull request
* Merge PR with merge queue
* Merge PR automatically
* Merge stacked PRs
* CI for stacked PRs
* Revert a pull request
* Close a pull request
* Work with forks
* Fork a repository
* Configure a remote repository
* Sync a fork
* Allow changes to a branch
* Detach a fork
* Reference
* Pull requests
* Stacked pull requests
* Stacked PRs CLI commands
* Stacked PRs APIs and webhooks
* Branches
* Forks
* Commits
* Stacked PRs and other tools
* Using query parameters to create a pull request
* PR reviews
* Status checks
* Pull request merges
* Merge conflicts
* Manage and standardize pull requests
* Tutorials
* Stack pull requests
* Roll out stacked PRs
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.
Recommended
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.
Articles
Category : All categories
Create pull requests
About stacked pull requests
Break large code changes into a chain of smaller, dependent pull requests you can review and merge independently.
Create pull requests
Creating stacked pull requests
Create a stack of dependent pull requests using the gh stack extension in GitHub CLI or directly on GitHub.
Create pull requests
Managing stacked pull requests
Restructure stacked pull requests, rebase their branches, and make changes to lower layers using GitHub CLI.
Merge and close pull requests
Merging stacked pull requests
Merge a stack from the bottom up, individually, or in contiguous groups.
Merge and close pull requests
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.
Pull requests
Reference documentation for GraphQL schema types in the Pull requests category.
Create pull requests
Quickstart for stacked pull requests
Install the gh stack extension in GitHub CLI and create your first set of stacked pull requests.
REST API endpoints for pull requests
Use the REST API to interact with pull requests.
Review 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.
Showing 1-9 of 17
Previous 1 2 Next
Help and support
Did you find what you needed?
Yes No
Privacy policy Help us make these docs great!
All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.
Make a contribution Learn how to contribute
Still need help?
Ask the GitHub community
Contact support
Legal
* © 2026 GitHub, Inc.
* Terms
* Privacy
* Status
* Pricing
* Expert services
* Blog
Links found on this page
- Skip to main content [direct]
- GitHub Docs [direct]
- Pull requests [direct]
- How-tos [direct]
- About pull requests [direct]
- About stacked PRs [direct]
- About forks [direct]
- Pull request quickstart [direct]
- Stacked PRs quickstart [direct]
- Review quickstart [direct]
- Write code [direct]
- Help others review your changes [direct]
- Give reviews [direct]
- Resolve reviews [direct]
- Deploy code [direct]
- Manage branches [direct]
- Commit to PR branch from fork [direct]
- Create a commit with multiple authors [direct]
- Change a commit message [direct]
- Compare commits [direct]
- Troubleshoot commits [direct]
- Create a pull request [direct]
- Create stacked PRs [direct]
- Create a PR from a fork [direct]
- Draft pull requests [direct]
- Manage stacked PRs [direct]
- Update the head branch [direct]
- Change the base branch [direct]
- Request a PR review [direct]
- Check out a PR locally [direct]
- Review proposed changes [direct]
- Review stacked PRs [direct]
- Review dependency changes [direct]
- Comment on a PR [direct]
- Approve PRs [direct]
- View a PR review [direct]
- Dismiss a PR review [direct]
- Incorporate feedback [direct]
- Resolve merge conflicts [direct]
- Resolve merge conflicts in Git [direct]
- Troubleshoot status checks [direct]
- Troubleshoot stacked PRs [direct]
- Merge a pull request [direct]
- Merge PR with merge queue [direct]
- Merge PR automatically [direct]
- Merge stacked PRs [direct]
- CI for stacked PRs [direct]
- Revert a pull request [direct]
- Close a pull request [direct]
- Fork a repository [direct]
- Configure a remote repository [direct]
- Sync a fork [direct]
- Allow changes to a branch [direct]
- Detach a fork [direct]
- Pull requests [direct]
- Stacked pull requests [direct]
- Stacked PRs CLI commands [direct]
- Stacked PRs APIs and webhooks [direct]
- Branches [direct]
- Forks [direct]
- Commits [direct]
- Stacked PRs and other tools [direct]
- Using query parameters to create a pull request [direct]
- PR reviews [direct]
- Status checks [direct]
- Pull request merges [direct]
- Merge conflicts [direct]
- Manage and standardize pull requests [direct]
- Stack pull requests [direct]
- Roll out stacked PRs [direct]
- About stacked pull requests [direct]
- Quickstart for stacked pull requests [direct]
- Stacked pull requests CLI commands [direct]
- Pull requests [direct]
- REST API endpoints for pull requests [direct]
- Privacy policy [direct]
- Make a contribution [direct]
- Learn how to contribute [direct]
- Ask the GitHub community [direct]
- Contact support [direct]
|
|