list_branches
Display all repository branches with the current branch identified. Use this tool to view branch structure and determine active working branches in Git repositories.
Instructions
List all branches in the repository.
Shows all local branches with current branch marked.
Args: repo_path: Path to the repository directory
Returns: JSON list of branches with current branch indicator
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes |