Home >Development Tools >git >What is the difference between git and gerrit

What is the difference between git and gerrit

青灯夜游
青灯夜游Original
2021-11-29 15:34:389919browse

The difference between git and gerrit: 1. Git is a version control system and a tool; while Gerrit is a web-based code review software. 2. Git is used for code storage and version control; Gerrit is used by teams to review each other's modified program codes and decide whether they can be submitted, returned, or continued modifications.

What is the difference between git and gerrit

The operating environment of this tutorial: Windows 7 system, Git version 2.30.0, Dell G3 computer.

The difference between Git and Gerrit

Git

In short, Git It is an open source distributed version control system, used for effective and high-speed processing of project version management from small to very large

Git is a distributed version control system, so it does not have a central server. A personal computer is a complete version library. In this way, you do not need to be connected to the Internet when working, because the versions are all on your own computer. Since everyone's computer has a complete version library, how can multiple people collaborate? For example, if you have modified file A on your computer, and someone else has also modified file A on your computer, you only need to push your modifications to each other, and you can see each other's modifications.

Gerrit

Simply put, Gerrit is a web-based code review tool based on Git version control.

Gerrit is a free, open source code review software that uses a web interface. Using a web browser, software programmers on the same team can review each other's modified program codes and decide whether to submit, return or continue modifications.

Gerrit applicability: Almost any project that needs to be officially released should use Gerrit for code review. If there are new people in the team, Gerrit must be used to ensure code quality.

Recommended study: "Git Tutorial"

The above is the detailed content of What is the difference between git and gerrit. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn