List commits
The 'List Commits' AI tool integrates with GitHub to provide a comprehensive list of commits from any branch within a repository. It supports advanced filtering by author, commit SHA, and pagination controls to fetch precise commit history data efficiently.
Features
- Retrieve commit lists from any GitHub repository branch with ease.
- Filter commits by author username or email for targeted results.
- Supports pagination with adjustable page number and results per page (1 to 100).
- Allows specifying commit SHA, branch, or tag to limit commit range.
- Returns detailed commit information, enhancing repository tracking and auditing.
Benefits
- Streamlines code review and project tracking by providing quick access to commit history.
- Improves developer productivity with precise and filtered commit retrieval.
- Facilitates better version control and change management insights.
- Supports integration into CI/CD pipelines for automated commit monitoring.
- Enhances transparency and accountability in collaborative coding projects.
Description
Get list of commits of a branch in a GitHub repository. Returns at least 30 results per page by default, but can return more if specified using the perPage parameter (up to 100).
Parameters
6 parameters
| Name | Type | Description |
|---|---|---|
| author | string | Author username or email address to filter commits by |
| ownerrequired | string | Repository owner |
| page | number | Page number for pagination (min 1) |
| perPage | number | Results per page for pagination (min 1, max 100) |
| reporequired | string | Repository name |
| sha | string | Commit SHA, branch or tag name to list commits of. If not provided, uses the default branch of the repository. If a commit SHA is provided, will list commits up to that SHA. |