git修改历史记录

 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
posted @ 2018-06-05 22:11  自由的鱼  阅读(1229)  评论(0编辑  收藏  举报