有的merge显示 This merge commit was added into this branch cleanly.
google之会有一些有参考的链接,比如https://shinglyu.github.io/web/2018/03/25/merge-pull-requests-without-merge-commits.html 又比如https://www.cnblogs.com/charlesblc/p/6132384.html 中的图:
找不到parent可能是fast-forward造成的
squash的例子:
pull567 https://github.com/apache/zookeeper/pull/567/commits 中的 commit全部被压缩到了 https://github.com/apache/zookeeper/commit/fe25fed9390a159b24f4c4fa31e3a7911f2c3b81,原有的commit就在log的history中找不到了
又比如https://github.com/apache/zookeeper/pull/357/commits 与 https://github.com/apache/zookeeper/commit/086359a6945df3ea5548c7a65730294cf612ce66