Merging Pull Requests
Merge pull requests in the GitHub web UI to accept committed changes to the main branch.
Prerequisites
You have a pull request that’s ready to be merged.
Steps
- In your repository, go to the Pull requests tab of the corresponding branch.
- Click Merge pull request.
- Optional: In the Add a comment section, enter a comment for the pull request.
- Click Confirm merge.
Result
- A success message appears: Pull request successfully merged and closed.
- Your changes are now incorporated into the
mainbranch.