git_branch
List all branches, compare differences, and receive cleanup suggestions to maintain an organized Git repository.
Instructions
Manage and analyze git branches. Provides branch listing, comparison, and management suggestions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoPath | Yes | Absolute path to the git repository | |
| action | Yes | Action to perform: list branches, compare branches, or suggest cleanup | |
| branchName | No | Branch name for specific operations | |
| baseBranch | No | Base branch for comparison (default: main or master) | |
| includeRemote | No | Include remote branches in listing |