Skip to main content
Glama

update_pull_request_branch

Update a pull request branch with the latest changes from the base branch to resolve merge conflicts and keep code current.

Instructions

Update a pull request branch with the latest changes from the base branch. This is equivalent to pressing the 'Update branch' button on GitHub.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ownerYesRepository owner
repoYesRepository name
pull_numberYesPull request number
expected_head_shaNoThe expected SHA of the pull request's HEAD ref (for optimistic locking)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/software-engineer-mj/github-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server