git cherry-pick

Apply the changes introduced by existing commits to the current branch. To apply changes to another branch, first use git checkout to switch to the desired branch. More information: https://git-scm.com/docs/git-cherry-pick.

git cherry-pick {{commit}}

git cherry-pick {{start_commit}}~..{{end_commit}}

git cherry-pick {{commit1 commit2 ...}}

git cherry-pick --no-commit {{commit}}