Gerrit always rebase before submit patchset to avoid a merge commit
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I found that when clicking "Submit Patch Set" in the Gerrit web interface, it'll either simply add a commit to that branch, or create a merge commit if another commit was submitted just before. Example that creates 2 commit: The actual commit and a merge commit: User submits patchset A depending on commit O User submits patchset B depending on commit O Submit Patch Set A Submit Patch Set B --> Creates merge commit between O -> A and O -> B There is a "Rebase Change" button which is great but it means that to submit a patch set everyone