AI engineering glossary · Command line Git

What is cherry-pick?

Cherry-pick: Copying one specific commit from one branch and applying it as a new commit on the current branch, without merging everything else. It is useful for moving a single bug fix to a release branch.

Level: advancedTopic: Command line Git

Cherry-pick: an example

git cherry-pick a1b2c3d applies that commit's change onto your current branch.

Related terms

More Command line Git terms

Where you learn it

Cherry-pick is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.