Cherry picking also rewrites the commits. This is equivalent to rebasing:
git branch -f orig_head
git reset target
git cherry-pick ..orig_head
Cherry picking also rewrites the commits. This is equivalent to rebasing:
git branch -f orig_head
git reset target
git cherry-pick ..orig_head