capabilities.work

Remove context commits from a merge request

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

Get something done

Remove context commits from a merge request

with GitLab
Works with AI assistants

Use GitLab: its GitLab REST Merge requests API lets you remove context commits from a merge request in a single step (DELETE /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.

  • Can I remove context commits from a merge request?
  • How do I detach specific commit SHAs from a merge request?
Say it to your AI assistant
  • Remove context commits {commits} from merge request {merge_request_iid} in project {id}.
  • Detach commit SHAs {commits} from merge request {merge_request_iid} of project {id}.
For your developer

DELETE /api/v4/projects/{id}/merge_requests/{merge_request_iid}/context_commits in GitLab REST Merge requests API. Full spec on APIs.io.