capabilities.work

Update a remote mirror

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

Get something done

Update a remote mirror

with GitLab
Works with AI assistants

Use GitLab: its GitLab REST Remote mirrors API lets you update a remote mirror in a single step (PUT /api/v4/projects/{id}/remote_mirrors/{mirror_id}). 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 change the auth method of an existing mirror?
  • Can I stop a mirror from keeping divergent refs?
Say it to your AI assistant
  • Update mirror {mirror_id} of {id} to use auth method {auth_method}.
  • Set mirror {mirror_id} on {id} to keep divergent refs {keep_divergent_refs}.
For your developer

PUT /api/v4/projects/{id}/remote_mirrors/{mirror_id} in GitLab REST Remote mirrors API. Full spec on APIs.io.