find_commits
Search git commits across session history using commit messages, hash prefixes, or branch names to locate specific changes.
Instructions
Search across all sessions for git commits matching a query — by commit message, hash prefix, or branch name. Great for 'find that commit where we fixed the parser' queries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Commit message substring, hash prefix, or branch name | |
| session_id | No | Optional: scope to a single session (prefix match) | |
| operation_type | No | Filter by operation type (default: all) | |
| limit | No | Max results | |
| max_chars | No | Max output characters |