I got 2 branches
a -- b -- c -- d -- e -- f -- g -- h <-- master
a -- b -- c <-- Branch1
i need to apply the commits e, f and g onto Branch1
Tried with:
git rebase --onto gSha1 eSha1 hSha1
after checkout on Branch1 and it didn't worked (as said here)
tried with git cherry-pick eSha1^..gSha1
but it dont worked too (As mentioned here)