list_commits
Retrieve commits from a GitHub repository, ordered by newest first. Specify owner, repo, and optionally a branch or commit SHA to filter.
Instructions
List commits on a repo's default branch (or a given ref), newest first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | No | ||
| repo | Yes | ||
| limit | No | ||
| owner | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||