Comment on a line of a commit
One step with GitLab. We can help you get access.
Get something done
Comment on a line of a commit
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Commits API lets you comment on a line of a commit in a single step (POST /api/v4/projects/{id}/repository/commits/{sha}/comments). 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 leave a comment on a specific line of a commit?
- Can I comment on a file in a commit by its path and line number?
Say it to your AI assistant
- Comment {note} on line {line} of commit {sha} in project {id}.
- Comment {note} on {path} at line {line} in {sha} of {id}.
For your developer
POST /api/v4/projects/{id}/repository/commits/{sha}/comments in GitLab REST Commits API. Full spec on APIs.io.