Gerrit Tutorial

  • SSH stands for Secure Shell or sometimes Secure Socket Shell protocol used for accessing network services securely from a remote computer. You can set the SSH keys to provide a reliable connection between the computer and Gerrit. You can check the existing SSH key on your local computer using the following command in Git Bash −.
  • Gerrit Code Review docker image. The official Gerrit Code Review image with an out-of-the-box setup with H2 and DEVELOPMENT account setup. This image is intended to be used AS-IS for training or staging environments.
  • Gerrit is a web-based code review tool. It is integrated with Git and built on top of Git version control system. It allows merging changes t.

Gerrit is a web based code review tool which is integrated with Git and built on top of Git version control system (helps developers to work together and maintain the history of their work). It allows to merge changes to Git repository when you are done with the code reviews.

  • Gerrit Tutorial
Gerrit Tutorial
  • Setting up Git
  • Set Up SSH Keys in Gerrit
  • Prepare to work with Gerrit
  • How to Submit a Patch
  • How Code is reviewed in Gerrit
  • Gerrit Useful Resources
  • Selected Reading

SSH stands for Secure Shell or sometimes Secure Socket Shell protocol used for accessing network services securely from a remote computer. You can set the SSH keys to provide a reliable connection between the computer and Gerrit.

You can check the existing SSH key on your local computer using the following command in Git Bash −

After clicking the enter button, you will see the existing SSH key as shown in the following image −

If you don't find any existing SSH key, then you need to create a new SSH key.

Gerrit Tutorial Download

Generating New SSH Key

You can generate a new SSH key for authentication using the following command in Git Bash −

Gerrit Tool

Gerrit tutorial for beginners

If you already have a SSH key, then don't a generate new key, as they will be overwritten. You can use ssh-keygen command, only if you have installed Git with Git Bash.

When you run the above command, it will create 2 files in the ~/.ssh directory.

Gerrit Tutorial For Beginners

  • ~/.ssh/id_rsa − It is private key or identification key.

  • ~/.ssh/id_rsa.pub − It is a public tv.