Github API

Getting access, Developing, Testing

Back to Github

Sync a fork branch with the upstream repository

Sync a branch of a forked repository to keep it up-to-date with the upstream repository.

Input

type: object properties: parameters: type: object properties: owner: type: string description: The account owner of the repository. The name is not case sensitive. repo: type: string description: The name of the repository. The name is not case sensitive. required: - owner - repo title: Parameters data: type: object properties: branch: type: string description: The name of the branch which should be updated to match upstream. title: Data

Output

type: object title: Merged upstream properties: message: type: string merge_type: type: string enum: - merge - fast-forward - none base_branch: type: string