# git-codereview を Homebrew, Nix でインストール

git-codereview のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

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

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:git-codereview
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.20.0
- **ソース概要:** Tool for working with Gerrit code reviews
- **ホームページ:** <https://pkg.go.dev/golang.org/x/review/git-codereview>
- **リポジトリ:** <https://github.com/golang/review>
- **最終更新:** 2026-07-25T20:55:22-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- git-codereview (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.20.0
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

- 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.

### ソース

- <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>


## セキュリティノート

git-codereview に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## 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
## 他のパッケージマネージャ記録

- 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


## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
