capabilities.work

Get a commit by SHA

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

Look something up

Get a commit by SHA

with GitLab
Works with AI assistants

Use GitLab: its GitLab REST Commits API lets you get a commit by SHA in a single step (GET /api/v4/projects/{id}/repository/commits/{sha}). 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 view the details of one commit in a project?
  • Can I get statistics for a single commit?
Say it to your AI assistant
  • Show commit {sha} in project {id}.
  • Get commit {sha} in {id} with stats {stats}.
For your developer

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