how to rebase to one commit code example
Example: git rebase one commit
git checkout master
git cherry-pick <commit ID of XX>
git checkout Feature-branch
git reset --hard HEAD^
git checkout master
git cherry-pick <commit ID of XX>
git checkout Feature-branch
git reset --hard HEAD^