git_branch_switch
Switch to a specified branch in a GitHub repository using the repository path and branch name. Accessible via GitMCP, enabling AI assistants to manage project branches without setup.
Instructions
Switch to a branch
Input Schema
Name | Required | Description | Default |
---|---|---|---|
name | Yes | Branch name | |
path | Yes | Repository path |
Input Schema (JSON Schema)
{
"properties": {
"name": {
"description": "Branch name",
"type": "string"
},
"path": {
"description": "Repository path",
"type": "string"
}
},
"required": [
"path",
"name"
],
"type": "object"
}