Git: Merge a Commit into a different Branch

Merging only one or a few commits mean using git cherry-pick

First cancel the merge you just did: see “Undo a Git merge?“.
Then:

git checkout version_1
git cherry-pick <commit checksum>

That can apply to multiple commits or a range of commits: see “How to cherry pick a range of commits and merge into another branch“.

Leave a Comment