Intermediate
Git & Version Control
Q43 / 100
What is the purpose of "git cherry-pick <commit>"?
Correct! Well done.
Incorrect.
The correct answer is A) It applies the changes introduced by a specific commit from one branch onto the current branch, creating a new commit with those changes
A
Correct Answer
It applies the changes introduced by a specific commit from one branch onto the current branch, creating a new commit with those changes
Explanation
Cherry-picking is useful for selectively applying a single commit's changes (e.g. a bugfix) to another branch without merging the entire source branch.
Progress
43/100