我平时在使用 git pull origin master 时总会产生额外的 merge commit 记录,这导致我总是提交一些无用的 commit 。可以通过在后面加一个命令解决这种问题,即: git pull origin master --rebase 具体可以参考这篇文章。
评论