git_create_branch
Create a new Git branch from a specified or default base branch. Use this tool to manage repository branching directly through the MCP Git Server, ensuring efficient workflow organization.
Instructions
Creates a new branch from an optional base branch
Input Schema
Name | Required | Description | Default |
---|---|---|---|
base_branch | No | ||
branch_name | Yes | ||
repo_path | Yes |
Input Schema (JSON Schema)
{
"properties": {
"base_branch": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Base Branch"
},
"branch_name": {
"title": "Branch Name",
"type": "string"
},
"repo_path": {
"title": "Repo Path",
"type": "string"
}
},
"required": [
"repo_path",
"branch_name"
],
"title": "GitCreateBranch",
"type": "object"
}