Lists all commits for a repository with pagination support. This endpoint supports both authenticated and unauthenticated access. Authenticated users can access private repos, while unauthenticated users can only access public repos. The include_stats parameter controls whether download and view statistics are computed (defaults to true).
list(
repo: string,
params: CommitListParams,
options: RequestOptions
): PagePromise<CommitWithLookupsOffsetPaginationCommits, CommitWithLookups>| Name | Type | Description |
|---|---|---|
repo* | string | |
params* | CommitListParams | |
options | RequestOptions |