update_pull_request_branch
Sync a pull request branch with the latest upstream changes to ensure it is updated. Specify the repository, owner, and pull request number for efficient branch management.
Instructions
Update a pull request branch with the latest upstream changes
Input Schema
Name | Required | Description | Default |
---|---|---|---|
expected_head_sha | No | The expected SHA of the pull request head | |
owner | Yes | Repository owner (username or organization) | |
pull_number | Yes | Pull request number | |
repo | Yes | Repository name |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from Github Project Manager
- add_issue_comment
- add_project_item
- create_issue
- create_project
- create_pull_request
- create_pull_request_review
- create_pull_request_review_comment
- get_issue
- get_pull_request
- is_pull_request_merged
- list_issues
- list_project_items
- list_pull_request_review_comments
- list_pull_request_reviews
- list_pull_requests
- merge_pull_request
- remove_requested_reviewers
- request_reviewers
- update_issue
- update_project_item
- update_pull_request
- update_pull_request_branch
Related Tools
- @asbloom-py/mcp-servers
- @modelcontextprotocol/github
- @Sheshiyer/git-mcp-v2
- @Monsoft-Solutions/model-context-protocols
- @containerelic/github-enterprise-mcp