Gerrit Essentials

Gerrit Essentials

  • 1 Day
  • Classroom, Webinar

Clearvision's Gerrit Essentials training course provides an understanding of code within the Gerrit workflow.

About this Course

Is this course for you?

This course is perfect for users new to Gerrit.

However, you should already be familiar with Git as it is not taught in the course.

Objectives & Outcomes

By the end of this course, you will be able to 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.

Pre-Requisites

  • Basic knowledge of Linux interfaces
  • Basic understanding of Git
  • Internet connection
  • Access to 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

Demonstration

  • Explore Gerrit
  • Verify the training enviromement
  • 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 your changes in the Gerrit interface

Demonstration

  • 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

Demonstration

  • Invite peers to participate in review
  • View existing reviews
  • understand a review’s status

Module Sections

  • Accessing code reviews
  • Identifying a review’s status
  • Viewing comments
  • Patch sets
  • Viewing changes in Diff views
  • comparing patch sets
  • Review preferences
  • Commenting on Changes
  • Replying to Comments
  • Completing the code review

Demonstration

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

Module Sections

  • Submission Requirements
  • Submitting changes
  • Patch set status
  • Dependencies
  • Rebasing Changes
  • Change ID’s
  • Creating additional patchsets
  • Recap – squashing changes
  • Amending Changes
  • Abandoning changes

Demonstration

  • 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 change.

Darren Bowles, Clearvision Trainer
Share
Share
Share
Share

Related Courses

    Looking for more information?

    To find out more about how you and your teams could benefit from Clearvision's Gerrit Training, simply fill out the form below. We'll be in touch to help you find out how much further your budget will go!
    Platinum-Solution-Partner-Enterprise@2x1

    A Platinum Solution Partner since 2007, Clearvision became the first European Partner to be declared 'Enterprise Ready' by Atlassian in 2012.Our unrivalled industry expertise means the Clearvision team is ideally positioned to help you get the most value out of tools and teams.

    Download our training brochure