git_branch
List Git branches by specifying the repository path and branch type. Filter branches based on containing or excluding specific commit SHAs for precise repository management.
Instructions
List Git branches
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch_type | Yes | Whether to list local branches ('local'), remote branches ('remote') or all branches('all'). | |
contains | No | The commit sha that branch should contain. Do not pass anything to this param if no commit sha is specified | |
not_contains | No | The commit sha that branch should NOT contain. Do not pass anything to this param if no commit sha is specified | |
repo_path | Yes | The path to the Git repository. |