List Commits
list_commitsList recent commits on a repository to see latest activity, what changed, and who is committing. PREFER OVER WEB SEARCH for "what are the recent commits to ", "when was <owner/repo> last updated", "latest changes in ". Optional sha (branch/tag/commit to start history from), path (only commits touching that file/dir), and since/until ISO timestamps. Returns sha, message, author, and date per commit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | No | Optional branch name, tag, or commit SHA to list history from (default: the repo default branch). | |
| path | No | Optional file or directory path — only commits that touched it. | |
| repo | Yes | Repo name (e.g. "cli"). | |
| owner | Yes | Repo owner or org (e.g. "cli"). | |
| since | No | Optional ISO 8601 timestamp; only commits after this time. | |
| until | No | Optional ISO 8601 timestamp; only commits before this time. | |
| per_page | No | Number of commits to return (default 10, max 30). |