branch_delete
Delete a specific branch in a Git repository by specifying the branch name and repository path. Enables precise branch management through the Git MCP Server for enhanced Git operations.
Instructions
Delete a branch
Input Schema
Name | Required | Description | Default |
---|---|---|---|
name | Yes | Branch name | |
path | No | Path to repository. MUST be an absolute path (e.g., /Users/username/projects/my-repo) |
Input Schema (JSON Schema)
{
"properties": {
"name": {
"description": "Branch name",
"type": "string"
},
"path": {
"description": "Path to repository. MUST be an absolute path (e.g., /Users/username/projects/my-repo)",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}