blob: f903849b81fffe1e293a20df4f989e6689bce6c4 [file] [log] [blame]
David Shevitz42135f92017-07-13 09:52:28 -07001= How Gerrit Works
2
3To understand how Gerrit fits into and enhances the developer workflow, consider
4a typical project. This project has a central source repository, which serves as
5the authoritative copy of the project's contents.
6
7.Central Source Repository
8image::images/intro-quick-central-repo.png[Authoritative Source Repository]
9
10Gerrit takes the place of this central repository and adds an additional
11concept: a _store of pending changes_.
12
13.Gerrit in place of Central Repository
14image::images/intro-quick-central-gerrit.png[Gerrit in place of Central Repository]
15
16With Gerrit, when a developer makes a change, it is sent to this store of
17pending changes, where other developers can review, discuss and approve the
18change. After enough reviewers grant their approval, the change becomes an
19official part of the codebase.
20
21In addition to this store of pending changes, Gerrit captures notes
22and comments about each change. These features allow developers to review
23changes at their convenience, or when conversations about a change can't
24happen face to face. They also help to create a record of the conversation
25around a given change, which can provide a history of when a change was made and
26why.
27
28Like any repository hosting solution, Gerrit has a powerful
29link:access-control.html[access control model]. This model allows you to
30fine-tune access to your repository.
31
32GERRIT
33------
34Part of link:index.html[Gerrit Code Review]
35
36SEARCHBOX
37---------