git_get_context
Get git context including branch, remote URL, recent commits, working tree status, diff stat, and Jira keys. Optionally include full uncommitted diff.
Instructions
Start here for any coding or review task: current branch, upstream ahead/behind, remote URL, recent commits, working tree status, diff stat summary, and Jira keys detected in the branch name. Pass includeDiff=true to also include the full uncommitted diff.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoPath | No | Path to the git repository (defaults to cwd) | |
| commitLimit | No | Number of recent commits to show (default 10) | |
| includeDiff | No | Include full uncommitted diff (default false) |