# Install git-codereview with Homebrew, Nix

Tool for working with Gerrit code reviews. Version 1.20.0 via Homebrew; verified 2026-05-08.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install git-codereview
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#git-codereview
```

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

## Package facts

- **Package key:** brew:git-codereview
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/git-codereview>
- **Version:** 1.20.0
- **Source summary:** Tool for working with Gerrit code reviews
- **Homepage:** <https://pkg.go.dev/golang.org/x/review/git-codereview>
- **Repository:** <https://github.com/golang/review>
- **Upstream docs:** <https://pkg.go.dev/golang.org/x/review/git-codereview>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/golang/review/archive/refs/tags/v1.20.0.tar.gz>
- **Last updated:** 2026-05-08T15:08:35Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- git-codereview (cli)
- git-codereview (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.20.0
- Package-manager updated: 2026-05-08
- Local data: ok
- Upstream repository: https://github.com/golang/review
- Upstream latest detected: v1.20.0 (current)
## Project history and usage

git-codereview is the Go project's Git helper for Gerrit-based code review. It packages project-specific contribution rules as Git subcommands, making the Go review process reproducible from a local checkout.

### Project history

The tool lives in the golang.org/x/review repository and its source documentation carries a 2014 Go Authors copyright notice. It was built around Gerrit's single-change review model: local work branches track pending changes, and amendments update the same review through a stable Change-Id.

### Adoption history

Its adoption is tightly connected to the Go contribution process. The official Go contribution guide instructs contributors to install git-codereview with go install, create a Gerrit account, use git codereview change to create or amend commits, and use git codereview mail to send changes for review.

### How it is used

Practitioners use git-codereview to create change branches, install hooks, run gofmt on modified files, upload patches to Gerrit, revise reviews by amending commits, and submit approved changes. It supports both the common single-commit branch workflow and multi-commit stacks when a larger change needs sequencing.

### Why package nerds care

For package records, git-codereview is a specialized but influential example of a project-specific workflow tool. It demonstrates how a language project can distribute its contribution conventions as a versioned command rather than relying only on prose documentation.

### Timeline

- 2014: Source documentation copyright reflects the early Go Authors implementation period.
- Go contribution guide: git-codereview is documented as the supported Gerrit submission helper.

### Related projects

- git-codereview is tied to Gerrit, go-review.googlesource.com, and the broader Go contribution workflow.

### Sources

- <https://formulae.brew.sh/formula/git-codereview>
- <https://github.com/golang/review>
- <https://go.dev/doc/contribute>
- <https://pkg.go.dev/golang.org/x/review/git-codereview>
- <https://raw.githubusercontent.com/golang/review/master/git-codereview/doc.go>


## Security Notes

No matching local secret-handling manifest was found for git-codereview. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: codereview.cfg, .git/config, ~/.gitconfig
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** git-codereview
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **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 - git-codereview: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-codereview/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.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [git-appraise](https://www.automicvault.com/pkg/brew/git-appraise/) - Shares av.db curated category or tags: cli, code-review, developer-tools, git, version-control.
- [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-gerrit](https://www.automicvault.com/pkg/brew/git-gerrit/) - 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.
- [rbtools](https://www.automicvault.com/pkg/brew/rbtools/) - Shares av.db curated category or tags: cli, code-review, developer-tools, version-control.
- [aicommit](https://www.automicvault.com/pkg/brew/aicommit/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [aicommit2](https://www.automicvault.com/pkg/brew/aicommit2/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [aicommits](https://www.automicvault.com/pkg/brew/aicommits/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
