Git · Middle · Question 44 of 75
What is git cherry-pick -x useful for?
- ✓Correct answer: Noting "cherry picked from commit ..." in the message
- 2Cherry-picking without creating any commit
- 3Picking every commit of a whole branch at once
Explanation
On release branches the note links the backport to the original fix, which helps audits. -n (--no-commit) is the option that applies changes without committing.