capabilities.work

List commits in a project

One step with GitLab. We can help you get access.

Look something up

List commits in a project

with GitLab
Works with AI assistants

Use GitLab: its GitLab REST Commits API lets you list commits in a project in a single step (GET /api/v4/projects/{id}/repository/commits). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • How do I list every commit in a GitLab repository?
  • Can I list only the commits that touched a particular file?
  • Which commits were made by one author in a given date range?
Say it to your AI assistant
  • List all commits in project {id}.
  • Show commits in {id} that touched {path}.
  • List commits in {id} by author {author} between {since} and {until}.
For your developer

GET /api/v4/projects/{id}/repository/commits in GitLab REST Commits API. Full spec on APIs.io.