How to Comment, Review, and Merge


Advertisements

Anyone can review the code and comment on the code in Gerrit. Consider the following steps −

Step 1 − Login to Gerrit to open the Gerrit dashboard as specified in the previous chapter.

Step 2 − Now, click any subject which contains Gerrit project, branch, updated date, etc. as shown in the following screenshot.

Gerrit Review Merge Code

Step 3 − Next, it will display a screen. Click the Commit Message option as shown in the following screenshot.

Gerrit Review Merge Code

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.

Advertisements