get_current_git_branch
Detect the current git branch name before creating a pull request. Returns the branch name or error if not in a git repository.
Instructions
Get the current git branch name.
Use this tool to detect what branch you're currently on before creating a pull request. This is useful for auto-detecting the source branch.
Returns: JSON object with the current branch name, or error if not in a git repository.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |