Gerrit Code Review
A web-based code review and Git repository management tool used by projects like Android, Chromium, and Eclipse. Gerrit ships with an embedded H2 database and Lucene search index, requiring no external dependencies.
Getting Started
- Open the web UI at your domain — Gerrit displays a guided setup page on first launch
- First user becomes admin — the first account to sign in is automatically granted administrator privileges
- Create a Git repository — use the web UI or SSH to create new projects
- Push code for review — push to
refs/for/main to create a code review change
- Review and submit — review code inline with side-by-side diffs, vote, and submit changes
Key Features
- Inline code review with side-by-side and unified diff views
- Fine-grained access control with project-level and branch-level permissions
- Embedded H2 database and Lucene index (zero external dependencies)
- Git hosting over SSH (port 29418) and HTTP
- Plugin system for extending functionality (CI integration, etc.)
- REST API for automation and integration
- Change-based workflow with submit rules and merge strategies
- Email notifications for review updates
Exposed Ports
- 8080: Web UI (HTTP)
- 29418: Git over SSH
License
Apache-2.0 — Gerrit Code Review