Let say I have two git branches:
- branch
awith files 1 and 2 - branch
bwith file 2
I have a commit in branch a which modified file 1 and 2.
I checkout branch b trying to cherrypick this commit but I only want the part of the commit that changes file 2 (because branch b does not have file 1).
How is this possible?