I know that we use cherry-pick
to get the content from a specific commit into our current branch.
I'll explain a situation and need some help to fully understand cherry-pick and be sure this is the right way to solve my problem.
Imagine we have two developers: Bob and Tom and they worked on same files.
Bob has a solid branch which is already in production.
Tom has some work of future release that Bob does not have.
Bob may also have some work that Tom does not have.
Bob wants Tom's work, but he needs to get one by one and test it before sending to production.
Wouldn't 'cherry-pick` overwrite Bob's work ? If yes, what is the right way to proceed in this situation ?