# Install git-gerrit with Homebrew, Nix

Gerrit code review helper scripts. Version 0.3.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:git-gerrit
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install git-gerrit
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gerrit
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ge/gerrit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:git-gerrit
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/git-gerrit>
- **Version:** 0.3.0
- **Source summary:** Gerrit code review helper scripts
- **Homepage:** <https://github.com/fbzhong/git-gerrit>
- **Repository:** <https://github.com/fbzhong/git-gerrit>
- **Upstream docs:** <https://github.com/fbzhong/git-gerrit#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/fbzhong/git-gerrit/archive/refs/tags/v0.3.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- gerrit (cli)
- gerrit-cherry-pick (cli)
- git-gerrit (cli)
- gerrit (alias)
- gerrit-cherry-pick (alias)
- git-gerrit (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.3.0
- Local data: ok
- Upstream repository: https://github.com/fbzhong/git-gerrit
- Upstream latest detected: v0.3.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

git-gerrit is a collection of helper scripts for teams using Gerrit Code Review with Git. It wraps common review actions such as pushing changes, listing changes, applying patch sets, reviewing, submitting, and abandoning changes.

### Project history

The README says the project was forked from `gerrit-tools`, which itself passed through work by André Arko, Steffen Gebert, and Philipp Gampe before Robin Zhong adapted it for the TYPO3 review workflow. The 0.1.0 line marked the fork, while 0.2.0 and 0.3.0 added patchset commands, bash completion, installation scripts, approval options, and workflow fixes.

### Adoption history

The project belongs to the era when many open-source and enterprise projects used Gerrit review flows that required pushing to special refs and handling patch sets. Its adoption signal is narrow but concrete: the README names TYPO3 review needs, and Homebrew packaging made the scripts available to macOS developers.

### How it is used

Practitioners use `git gerrit push` to send review changes, `git gerrit changes` to inspect review items, `git gerrit apply` to check out a change for review, and `git gerrit review` or `git gerrit submit` to complete review actions. The companion `gerrit` and `gerrit-cherry-pick` scripts wrap Gerrit SSH commands and patch cherry-picking.

### Why package nerds care

git-gerrit shows how package managers carried local workflow glue for code-review systems before richer Gerrit integrations became common in IDEs and hosting platforms.

### Timeline

- 2012: Repository created on GitHub with BSD-licensed helper scripts.
- 2012: 0.1.0 forked from earlier gerrit-tools work.
- 2012: 0.2.0 added patchset support, bash completion, and installation scripts.
- 2012: 0.3.0 added review-branch push behavior and approval-list options.

### Related projects

- git-gerrit descends from gerrit-tools and relates to Gerrit Code Review, Git refs-for-review workflows, and shell completion packages for Git subcommands.

### Sources

- <https://formulae.brew.sh/formula/git-gerrit>
- <https://github.com/fbzhong/git-gerrit>
- <https://github.com/fbzhong/git-gerrit/blob/master/README.md>
- <https://github.com/fbzhong/git-gerrit/tags>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** git-gerrit
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** gerrit-tools
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - gerrit: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/ge/gerrit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [gerrit-tools](https://www.automicvault.com/pkg/brew/gerrit-tools/) - Shares av.db curated category or tags: cli, code-review, developer-tools, gerrit, git.
- [git-codereview](https://www.automicvault.com/pkg/brew/git-codereview/) - Shares av.db curated category or tags: cli, code-review, developer-tools, gerrit, git.
- [git-review](https://www.automicvault.com/pkg/brew/git-review/) - Shares av.db curated category or tags: cli, code-review, developer-tools, gerrit, git.
- [git-appraise](https://www.automicvault.com/pkg/brew/git-appraise/) - Shares av.db curated category or tags: cli, code-review, developer-tools, git.
- [cargo-crev](https://www.automicvault.com/pkg/brew/cargo-crev/) - Shares av.db curated category or tags: cli, code-review, developer-tools.
- [crit](https://www.automicvault.com/pkg/brew/crit/) - Shares av.db curated category or tags: cli, code-review, developer-tools.
- [git-delete-merged-branches](https://www.automicvault.com/pkg/brew/git-delete-merged-branches/) - Shares av.db curated category or tags: cli, developer-tools, git, git-extensions.
- [git-delta](https://www.automicvault.com/pkg/brew/git-delta/) - Shares av.db curated category or tags: cli, developer-tools, git, git-extensions.

## Combined YAML source

View the package source record on GitHub. [combined/git-gerrit.yml](https://github.com/automic-vault/db/blob/main/combined/git-gerrit.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
