Fix Previous Commits
$ git commit --fixup=8a465186
$ git rebase -i --autosquash 8a465186~1
Cherry Picking
$ git cherry-pick branch #last commit
$ git cherry-pick branch~1 #second to the last commit
Fix Previous Commits
$ git commit --fixup=8a465186
$ git rebase -i --autosquash 8a465186~1
Cherry Picking
$ git cherry-pick branch #last commit
$ git cherry-pick branch~1 #second to the last commit