Skip to main content

Create pull requests

Create pull requests and stacked pull requests, change branches, and request reviews for collaborative development.

Creating a pull request

Create a pull request to propose changes to the code in a repository.

Creating stacked pull requests

Create a stack of dependent pull requests using the gh stack extension in GitHub CLI or directly on GitHub.

Creating a pull request from a fork

Create a pull request from a fork to propose changes to an upstream repository and collaborate on code effectively.

Changing the stage of a pull request

Mark a draft pull request as ready for review or convert an open pull request back to a draft to manage your workflow effectively.

Managing stacked pull requests

Restructure stacked pull requests, rebase their branches, and make changes to lower layers using GitHub CLI.

Keeping your pull request in sync with the base branch

Update your pull request branch with changes from the base branch to resolve conflicts and ensure compatibility before merging.

Changing the base branch of a pull request

Modify the base branch of an open pull request to compare changes against a different branch and ensure accurate updates.

Requesting a pull request review

Request reviews for your pull requests from individuals or teams to ensure thorough feedback and collaboration.