To cherry-pick all the commits from A to B, where A is older than B, run:
git cherry-pick A^..B
If you want to ignore A itself, run:
git cherry-pick A..B
source: https://stackoverflow.com/a/1459264
git reset --soft HEAD@{1}
To cherry-pick all the commits from A to B, where A is older than B, run:
git cherry-pick A^..B
If you want to ignore A itself, run:
git cherry-pick A..B
source: https://stackoverflow.com/a/1459264
git reset --soft HEAD@{1}