Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 382 Bytes

3-git-cherry-pick.md

File metadata and controls

17 lines (11 loc) · 382 Bytes

git cherry-pick

Reference docs

Given one or more existing commits, apply the change each one introduces, recording a new commit for each. This requires your working tree to be clean (no modifications from the HEAD commit).

Simple cherry pick

git cherry-pick <commit-SHA>

Cherry pick multiple commits

git cherry-pick <commit-SHA-1> <commit-SHA-2>