I have a situation similar to this question. Currently this command shows me perfectly all the commits I need:
git log --cherry-pick --oneline --no-merges --left-only branchB...branchA
Now, I want to create a patch file with every one of the commits displayed in the above command. How can I do it?