Quick Actions
git cherry-pick
Description
Apply the changes introduced by some existing commits.
Command
git cherry-pick
Examples
Cherry-pick a commit
git cherry-pick abc1234
Cherry-pick multiple commits
git cherry-pick abc1234 def5678
Continue after conflict resolution
git cherry-pick --continue
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
<commit> |
string | No | Commit hash to apply |
--continue |
string | No | Continue cherry-pick after resolving conflicts |
--abort |
string | No | Abort cherry-pick process |
--skip |
string | No | Skip current commit |
Command Info
Category:
Merging
Type:
Git
Views:
7
Status:
Active
Tags
cherry-pick
apply
commit
selective