git cherry-pick inatumia commit maalum kutoka kwenye tawi moja kwenda kwenye tawi lingine — inakopia tu mabadiliko ya commit hiyo, bila kuunganisha tawi lote. Ni muhimu kwa ajili ya kutumia kwa kubaini mabadiliko mahususi, kama kurudisha-port suluhu.
Jinsi cherry-pick inavyofanya kazi
# apply a specific commit from another branch onto the current branch
git cherry-pick <commit-hash>
git cherry-pick <commit1> <commit2>
git cherry-pick A..B
