capabilities.work

Cherry-pick a commit to a branch

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

Get something done

Cherry-pick a commit to a branch

with GitLab
Works with AI assistants

Use GitLab: its GitLab REST Commits API lets you cherry-pick a commit to a branch in a single step (POST /api/v4/projects/{id}/repository/commits/{sha}/cherry_pick). 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 copy a single commit onto a different branch?
  • Can I dry-run a cherry-pick before applying it?
Say it to your AI assistant
  • Cherry-pick commit {sha} in project {id} onto branch {branch}.
  • Dry-run cherry-picking {sha} in {id} onto {branch}.
For your developer

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