git-observer
Retrieve read-only git status, commit history, and file diffs to understand repository state and changes. Query logs, inspect working tree, and compare refs for context.
Instructions
Provides read-only git status, log, and diff information.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Reference commit or branch for log/diff commands. | |
| path | No | Restrict diff output to a specific path (diff command). | |
| limit | No | Maximum number of log entries to return (log command). | |
| baseRef | No | Base reference when computing diffs (diff command). | |
| command | Yes | Git information command to execute. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log | No | ||
| diff | No | ||
| status | No | ||
| command | Yes |