Master programming syntax, solve interactive challenges & run live code in Syntaxis Explore Arena →
Reference / Git Version Control

git cherry-pick

Applies the changes introduced by some existing commits onto the current HEAD.

Syntax
git cherry-pick <commit-hash>

Parameters

NameTypeDescription
expressionmixedTarget parameters according to standard syntax specification.

Examples

Working git cherry-pick usage example
// Example for git cherry-pick
// Standard verified syntax construct
console.log('git cherry-pick initialized');
Standard Git language feature verified across modern versions.