git cherry-pick
Apply specific commits from another branch
AdvancedSyntax
git cherry-pick <commit>
Examples
git cherry-pick abc1234— cherry-pick abc1234git cherry-pick --no-commit abc1234— cherry-pick --no-commit abc1234
Common flags & options
- •--no-commit Apply without committing
- •-x Append original hash to message