1.git stash
2.git rebase 45c2d5c --interactive 
3.git stash pop
4.git add
5.git commit --amend  
   确认编辑后按control+x保存
6.git rebase --continue
  6.1 编辑冲突文件, 解决冲突
  6.2 git add .
  6.3 git commit --amend

相关文章: