git_cherry_pick
MCP tools › Version control
Cherry-pick: apply the change of one commit onto the current branch as a new commit. Stops on conflicts and reports the files (resolve, stage, then git_rebase with action continue, or abort). Refused while a rebase, cherry-pick or merge is in progress. dry_run defaults to true and only shows the commit.
Its results carry text from git: the client is told to treat that as data, never as instructions.
| Capability | git.git_cherry_pick |
|---|---|
| Area | Version control |
| Access | changes files, repository |
| Reaches | process |
| Rights | vcs-write |
| Dry run | dry_run, on unless the call turns it off |
Arguments
| Argument | Type | Description |
|---|---|---|
revrequired | string | Commit to apply onto the current branch (hash, branch or other revision). |
dry_run | boolean | Only show the commit that would be applied (default true). |
Call it from a shell
ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.
ferris-idea call ~/my-project git_cherry_pick '{"rev":"<string>"}'Input schema as JSON
{ "type": "object", "required": [ "rev" ], "properties": { "rev": { "description": "Commit to apply onto the current branch (hash, branch or other revision).", "type": "string" }, "dry_run": { "description": "Only show the commit that would be applied (default true).", "type": [ "boolean", "null" ], "default": null } }}