JAEN

Git

git cherry-pick

CautionApply specific commits

git cherry-pick <commit>

Copies chosen commits onto the current branch — typical for porting hotfixes. Resolve or --abort on conflicts.

Examples

  • git cherry-pick abc1234Pick one commit

Syntax

git cherry-pick <commit> [--abort] [--continue]

Before you run it

Creates duplicate commits across branches.

Related commands

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store