Junior — Middle
Explain what the term 'Cherry Pick' means in the context of version or development team work.
sobes.tech AI
Answer from AI
Cherry Pick is the process of selecting and applying a specific commit from one branch to another, without merging the entire branch.
For example, if a bug was fixed in the development branch and this fix needs to be urgently transferred to the stable branch, you can perform a cherry-pick of that commit.
In Git, this is done with the command:
git cherry-pick <commit-hash>
This allows selectively transferring changes without affecting other commits, which is convenient for managing releases and fixes.