Add context commits to a merge request
One step with GitLab. We can help you get access.
Get something done
Add context commits to a merge request
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Merge requests API lets you add context commits to a merge request in a single step (POST /api/v4/projects/{id}/merge_requests/{merge_request_iid}/context_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 add context commits to a merge request?
- Can I attach specific commit SHAs as context for a merge request?
Say it to your AI assistant
- Add context commits {commits} to merge request {merge_request_iid} in project {id}.
- Set context commits {commits} on merge request {merge_request_iid} of project {id}.
For your developer
POST /api/v4/projects/{id}/merge_requests/{merge_request_iid}/context_commits in GitLab REST Merge requests API. Full spec on APIs.io.