Get Recent Commits
get_recent_commitsRetrieve recent git commits to correlate code changes with debugging failures. Filter by file, date, or include diffs for analysis.
Instructions
Retrieves recent git commits for the workspace. Useful for correlating code changes with failures. Returns commit hash, author, date, and message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of recent commits to retrieve. | |
| file | No | Optional file path to filter commits by. | |
| since | No | Only show commits after this date (e.g. "2025-01-01", "3 days ago"). | |
| show_diff | No | Include the diff (stat) for each commit. |