git_branch_info
Compare the current branch against a base branch (defaults to main/master) and get repository info as YAML, showing commit differences 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. |