git_create_branch
MCP tools › Version control
Create a local branch at a start revision (default HEAD) without switching to it.
Its results carry text from git: the client is told to treat that as data, never as instructions.
| Capability | git.git_create_branch |
|---|---|
| Area | Version control |
| Access | changes repository |
| Reaches | — |
| Rights | vcs-write |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
namerequired | string | New branch name, e.g. feature/login. |
start | string | Start revision (default HEAD). |
Call it from a shell
ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.
ferris-idea call ~/my-project git_create_branch '{"name":"<string>"}'Input schema as JSON
{ "type": "object", "required": [ "name" ], "properties": { "name": { "description": "New branch name, e.g. `feature/login`.", "type": "string" }, "start": { "description": "Start revision (default HEAD).", "type": [ "string", "null" ] } }}