(参考的内容)[https://www.cnblogs.com/tocy/p/git-rebase-merge-commit.htm]
总而言之.
1,checkberrk 相关的提交,
然后使用命令
git rebase -i HEAD~2
后面的2我猜想因该是想合并几个提交.
然后把第二个
将第二个pick改成squash或者s,然后保存退出。
然后,就可以使用了.
转载于:https://www.cnblogs.com/eat-too-much/p/8384826.html