pulls
Update a pull request branch
Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository.
put/repos/{owner}/{repo}/pulls/{pull_number}/update-branch
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/repos/{owner}/{repo}/pulls/{pull_number}/update-branch
- Auth: none declared
Path parameters
ownerstring required
The account owner of the repository. The name is not case sensitive.
repostring required
The name of the repository without the .git extension. The name is not case sensitive.
pull_numberinteger required
The number that identifies the pull request.
Request body
Response
Response
Changes
No recorded changes to this operation across all 83 revisions of this API.