list_commits
Retrieve commit history for a GitHub repository or branch. Filter by author, file path, date range, and paginate results to inspect changes.
Instructions
List commit history for a repository or branch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | No | SHA or branch to start listing commits from | |
| page | No | Page number | |
| path | No | Only commits containing this file path will be returned | |
| repo | Yes | Repository name | |
| owner | No | GitHub user or organization name (optional if GITHUB_OWNER is set) | |
| since | No | ISO 8601 timestamp (e.g. YYYY-MM-DDTHH:MM:SSZ) to filter commits after | |
| until | No | ISO 8601 timestamp to filter commits before | |
| author | No | GitHub login or email to filter commits by author | |
| per_page | No | Results per page (max 100) |