# Merge a pull request

Merging is the final step in collaborating on a pull request, signifying that the proposed changes are accepted. On merging, the changes from the head (proposed) branch are merged into the base branch/ main codebase.

Follow these steps to merge a pull request on Protocol.Land:

1. Navigate to the Pull Requests tab on the main page of the repository.\
   ![](/files/8k3cCDi9mtu2NmF1GFLr)
2. By default, the list of open pull requests are displayed.
3. Click on the pull request you wish to merge from the list.
4. You will be redirected to the main page of the pull request.
5. Click “Merge pull request” located at the bottom of the pull request timeline on the main page of the pull request.\
   ![](/files/ENqnh8t7rfxLBhEsvCmt)
6. The changes from the compared head branch are then applied to the base branch.
7. The status of the pull request is set to “merged” and it is moved to the list of closed pull requests.
8. The pull request timeline on the "Overview" tab is updated with the details of the merge.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.protocol.land/working-with-pull-requests/merge-a-pull-request.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
