Gerrit Interview Questions And Answers

gerrit interview questions and answers   Top 5 Gerrit Interview Questions And Answers

1) What is Gerrit?

Gerrit is a web-based code review tool, which is integrated with Git and built on top of Git version control system.

Gerrit was developed by Shawn Pearce at Google which is written in Java, Servlet, GWT(Google Web Toolkit). It is open source software and licensed under Apache License v2.
Gerrit allows the changes to be merge in Git post code review.


2) Why to use Gerrit?

Following are the reasons why Gerrit should be used:

● It is easy to find the error in the source code using Gerrit.
● As it built on top of Git so no need to install any Gerrit client.
● Its an excellent tool which can be used between the developer and Git repositories.


3) What are the different features of Gerrit?

Following are the key features of Gerrit:

● Gerrit is a free and an open source Git version control system.
● The user interface of Gerrit is formed on Google Web Toolkit.
● It is a lightweight framework for reviewing every commit.
● Gerrit acts as a repository, which allows pushing the code and creates the review for your commit.


4) What are the advantages of Gerrit?

Following are the advantages of Gerrit:

● Gerrit provides access control for Git repositories and web frontend for code review.
● You can push the code without using additional command line tools.
● Gerrit can allow or decline the permission on the repository level and down to the branch level.
● Gerrit is supported by Eclipse.


5) What are the disadvantages of Gerrit?

Following are the disadvantages of Gerrit:

● Reviewing, verifying and resubmitting the code commits slows down the time to market.
● Gerrit can work only with Git.
● Gerrit is slow and it's not possible to change the sort order in which changes are listed.
● You need administrator rights to add repository on Gerrit.