Skip to main content

cherry_pick

Function cherry_pick 

Source
pub async fn cherry_pick(worktree: &Path, commit: &str) -> Result<()>
Expand description

Cherry-pick commit onto the worktree’s HEAD under a neutral committer. On a conflict the pick is aborted, so the worktree is left as it was, and git’s own words come back as the error.