
Merging a pull request - GitHub Docs
To merge a pull request, use the gh pr merge subcommand. Replace pull-request with the number, URL, or head branch of the pull request. gh pr merge PULL-REQUEST Follow the …
About pull request merges - GitHub Docs
When you click the default Merge pull request option on a pull request, all commits from the feature branch are added to the base branch in a merge commit. The pull request is merged …
Merging a pull request with a merge queue - GitHub Docs
With GitHub CLI, you can use the gh pr merge command to add a pull request to a merge queue. If you are targeting a branch that requires a merge queue, this command automatically adds …
Automatically merging a pull request - GitHub Docs
If you enable auto-merge for a pull request, the pull request will merge automatically when all required reviews are met and all required status checks have passed. Auto-merge prevents …
Resolving a merge conflict on GitHub
In the "Pull Requests" list, click the pull request with a merge conflict that you'd like to resolve. Near the bottom of your pull request, click Resolve conflicts.
About merge methods on GitHub
Pull requests with squashed commits are merged using the fast-forward option. To squash and merge pull requests, you must have write permissions in the repository, and the repository …
Creating a pull request - GitHub Docs
Alternatively, to go straight to GitHub to create your pull request, select the dropdown icon and click Create Pull Request. Confirm that the branch in the base: dropdown menu is the branch …
Configuring pull request merges - GitHub Docs
You can enforce, allow, or disable merging with a merge commit for all pull request merges on GitHub.com in your repository.
Checking out pull requests locally - GitHub Docs
When someone sends you a pull request from a fork or branch of your repository, you can merge it locally to resolve a merge conflict or to test and verify the changes before merging on GitHub.
Reverting a pull request - GitHub Docs
Reverting a pull request on GitHub creates a new pull request that contains one revert of the merge commit from the original merged pull request. To revert pull requests, you must have …