git_branch
Manage and display Git repository branches locally or remotely. Specify the repository path to list branches, with an option to include remote branches for comprehensive tracking.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
repository_path | Yes | Path to the git repository | |
show_remote | No | Show remote branches as well |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"repository_path": {
"description": "Path to the git repository",
"type": "string"
},
"show_remote": {
"description": "Show remote branches as well",
"type": "boolean"
}
},
"required": [
"repository_path"
],
"type": "object"
}