Skip to main content

List Commits

Get a list of repository commits in a project.

External Documentation

To learn more, visit the GitLab documentation.

Parameters

ParameterDescription
AllRetrieve every commit from the repository.
OrderList commits in order. Possible values: default, topo. Defaults to default, the commits are shown in reverse chronological order.
Project IDThe ID or path of the project owned by the authenticated user. If the path is being used, it should be url encoded - for example: user%2my-project .
Ref NameThe name of a repository branch, tag or revision range, or if not given the default branch.
SinceOnly commits after or on this date are returned in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
UntilOnly commits before or on this date are returned in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
With StatsStats about each commit are added to the response.

Workflow Library Example

List Commits with Gitlab and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop