Cherry-pick commit
Cherry-picks changes from a specific commit (identified by ref_id) into the current workspace.
Process:
- Creates a temporary patch from the source commit
- Applies it to the workspace
- If conflicts occur, returns a merge ID that must be resolved before proceeding
Requirements: Requires WRITE access.
Returns:
404 Not Foundif the reference doesn’t exist202 Acceptedwith merge_id if conflicts occurred204 No Contenton clean application
Documentation Index
Fetch the complete documentation index at: https://docs.diversion.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
This API uses OAuth 2 with the implicit grant flow
Path Parameters
The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.
3 - 128"example_id"
The repo ID of the workspace.
3 - 128"example_id"
Body
The commit to cherry-pick
7 - 128Response
The cherry-pick is in progress. It has conflicts requiring active input from the user for conflict resolution. The response contains a merge ID, which can be used for querying /repos/{repo_id}/merges/{merge_id}
3 - 128"example_id"

