git_branch_info
Analyze current branch commits against a base branch and return repository information as YAML. Get diff against main or master without computing an explicit range.
Instructions
Analyze the current branch's commits against a base branch and return repository information as YAML. Use this when you want the diff against main/master (or another base) without computing an explicit range; use git_view_commits instead when you already have a range. Mirrors omni-dev git branch info.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Base branch to compare against, e.g. `main` or `develop`. When omitted, resolved remote-first: `origin/main`, `origin/master`, local `main`, then local `master`. | |
| repo_path | No | Path to the git repository. Defaults to the current working directory. |