git cherry-pick นำ commit เฉพาะ จาก branch หนึ่งมาใช้กับอีก branch หนึ่ง — โดยคัดลอกเฉพาะการเปลี่ยนแปลงของ commit นั้น โดยไม่ต้อง merge ทั้ง branch มันมีประโยชน์สำหรับการนำการเปลี่ยนแปลงเฉพาะมาใช้แบบเลือกสรร เช่นการ backport การแก้ไข
cherry-pick ทำงานอย่างไร
# 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
