Cherry-Pick Fill
Fill in the Blank Medium
Question
Fill in the blank to apply commit abc123 to the current branch.
Code
git ___ abc123
Hint
The command to apply a single commit is hyphenated.
Explanation
git cherry-pick <commit> applies the changes from a specific commit to your current branch as a new commit. This is useful for applying a bug fix to multiple branches without merging the entire source branch.
Related Resources
Related Lessons
Related Cheatsheets
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.