Gerrit 简明教程
How to Comment, Review, and Merge
任何人都可以在 Gerrit 中审阅代码并对代码进行评论。考虑以下步骤 −
Anyone can review the code and comment on the code in Gerrit. Consider the following steps −
Step 1 - 登录 Gerrit 以打开 Gerrit 仪表板,如前一章所述。
Step 1 − Login to Gerrit to open the Gerrit dashboard as specified in the previous chapter.
Step 2 - 现在,单击包含 Gerrit 项目、分支、更新日期等的任何主题,如下面的屏幕截图所示。
Step 2 − Now, click any subject which contains Gerrit project, branch, updated date, etc. as shown in the following screenshot.

Step 3 - 接下来,它将显示一个屏幕。单击“提交消息”选项,如下面的屏幕截图所示。
Step 3 − Next, it will display a screen. Click the Commit Message option as shown in the following screenshot.

更改集的重要字段类似于查看者、添加查看者、并排关闭等等。比较补丁集包括选择旧版本历史记录列表、展开较新的补丁集详细信息等等。查看和合并或拒绝代码包括放弃更改按钮、提交修补程序按钮,而这些按钮在当前版本的 Gerrit 中不存在。
The important fields of the change set are like Reviewers, Add Reviewer, Side-by-side off, etc. Comparing patch sets includes selecting the old version history list, expanding the newer patch set details, etc. Reviewing and merging or rejecting the code includes abandon change button, submitting patch button, etc. which are not present in the current version of Gerrit.