Gerrit Essentials

Gerrit Essentials

  • 1 Day
  • Classroom, Webinar

This Gerrit Essentials training course aims to provide students with an understanding of code within the Gerrit workflow.

About this course

Is this course right for me?

This course is perfect for anyone who is new to Gerrit.

Objectives and outcomes

By the end of this course, you will be able to use Gerrit together with Git, for program code version control and code reviews.

You will become familiar with the specific processes required to save code changes, set up reviews and review code within the Gerrit workflow.


  • -Basic knowledge of Linux interfaces.
  • -Basic understanding of Git as it is not covered in this course.
  • -Internet connection.
  • -Access to a laptop.

Module Sections

  • Introduction to Gerrit
  • The Gerrit workflow
  • Roles in Gerrit
  • Introduction to code reviews
  • Code review scores
  • Default user permissions
  • The Gerrit refspec
  • Code review requirements


  • Explore Gerrit
  • Verify the training environment
  • Clone a Gerrit repository
  • Retrieve the commit-msg hook

Module Sections

  • Cloning from Gerrit
  • Making local changes
  • Squashing changes
  • Pushing to the Gerrit refspec
  • Viewing changes in the Gerrit interface


  • Create a local branch
  • Make some changes in Git
  • Squash changes
  • Push to Gerrit

Module Sections

  • Verification
  • Inviting reviewers to participate
  • Monitoring review progress
  • Notifications


  • Invite peers to participate in a review
  • View existing reviews
  • Understand the status of a review

Module Sections

  • Accessing code reviews
  • Identifying the status of a review
  • Viewing comments
  • Patch sets
  • Viewing changes in different views
  • Comparing patch sets
  • Reviewing preferences
  • Commenting on changes
  • Replying to comments
  • Completing the code review


  • Searching for reviews
  • Review changes submitted by another user
  • Explore different views
  • Provide review comments
  • Passing a review

Module Sections

  • Submission requirements
  • Submitting changes
  • Patch set status
  • Dependencies
  • Rebasing changes
  • Change IDs
  • Creating additional patchsets
  • Recap – squashing changes
  • Amending changes
  • Abandoning changes


  • Rebasing in Gerrit
  • Failing a review
  • Re-submitting failed reviews
  • Resolving conflicts in a Gerrit rebase
  • Passing and submitting a review

Gerrit is a free, web-based team code collaboration tool. Software developers in a team can review each other's modifications on their source code using a web browser and approve or reject those changes.

Darren Bowles, Clearvision Trainer
Share on facebook
Share on twitter
Share on linkedin

Related courses

    Aaron Rowsell quote mobile

    Looking for more information?

    To learn more about our agile training courses, contact us directly and one of our friendly representatives will be in touch.


    We’ve been an Atlassian Platinum Solution Partner since 2007 and were the first European Partner declared 'Enterprise Ready' by Atlassian back in 2012. Our unrivalled industry experience has positioned us well in helping teams get value out of the tools they rely on.

    Download our training brochure