DevOps Interview DropIntermediate TierScenario+25 XP on read
You need one bug fix from a branch that contains 20 other commits. What do you do?
Core Summary
Cherry-pick copies just that one commit onto your branch. It's the right tool for hotfixes and release backports, but it duplicates the change, so use it deliberately and keep fixes isolated in their own commits in the first place so they're easy to lift out later.
Hints
Hint 1: Cherry-pick copies a change; it does not move a commit
Hint 2: The copy gets a new SHA, so the same change now exists twice
Hint 3: -x records where it came from
Reported in interviews at Stripe, Cloudflare