Pull main branch
github_pull_mainFetches and fast-forwards the base branch of a local repository from its configured remote.
Instructions
Fetch, switch to the base branch, and fast-forward pull from the configured remote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remote | No | Git remote name. Defaults to GITHUB_MCP_DEFAULT_REMOTE or origin. | |
| repoPath | Yes | Path to a local repository inside the configured allowed roots. | |
| baseBranch | No | Base branch to update. Defaults to GITHUB_MCP_DEFAULT_BASE_BRANCH or main. |