# topgit を Homebrew, apk, apt, dnf, Nix でインストール

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

## インストール

```sh
sudo av install brew:topgit
```

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

### macOS

- Homebrew (100%):

```sh
brew install topgit
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add topgit
```

  証拠: Alpine Linux edge package indexes: topgit from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install topgit
```

  証拠: Debian stable package indexes: topgit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install topgit
```

  証拠: Fedora Rawhide package metadata: topgit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#tg
```

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

## パッケージ情報

- **パッケージキー:** brew:topgit
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.19.14
- **ソース概要:** Git patch queue manager
- **ホームページ:** <https://repo.or.cz/topgit/pro.git>
- **リポジトリ:** <https://github.com/mackyle/topgit>
- **最終更新:** 2026-06-15T10:21:22-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- tg (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

TopGit is a Git-based patch queue manager exposed through the `tg` command. It was created for people maintaining interdependent patch sets on top of another project, especially where patches must remain reviewable, exportable, and shareable.

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

The official changelog starts with TopGit 0.1 in August 2008. Its documentation calls it a different patch queue manager and explains the core idea: instead of storing patches as diff files, TopGit represents each patch as Git branches plus metadata files such as `.topdeps` and `.topmsg`.

The maintained mackyle documentation describes the current TopGit PRO repository, hosted on GitHub and repo.or.cz, as a continuation that fixes bugs and expands the original design. Later 0.19-series releases added features around undo, speed, POSIX portability, compatibility, and internal cleanup.

### 採用の歴史

TopGit's adoption is specialized rather than mainstream. The input package metadata lists packages in Alpine, Homebrew, Debian, Fedora, Nix, and Ubuntu, which fits its audience: distro maintainers, patch-stack maintainers, and Git users who need more structure than ad hoc branches but still want patch export.

### 使われ方

TopGit is used to create, update, inspect, export, mail, and navigate patch branches. The official overview contrasts it with Quilt: Quilt tracks ordered diff files, while TopGit tracks patch dependencies in Git and can export a quilt-style patch directory when needed.

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

TopGit is significant in package-maintenance culture because it bridges Git-native history and downstream patch queues. It preserves patch-edit history, supports dependency topology beyond a linear series file, and can still produce patch sets for ecosystems that expect diff files.

### タイムライン

- 2008: TopGit 0.1 appears in the official changelog.
- 2014: Changelog notes TopGit 0.10.
- 0.19 series: Later maintained releases focus on undo, speed, POSIX portability, compatibility, and internal cleanup.
- Current: mackyle documentation identifies the maintained TopGit PRO repository and full manual.

### Related projects

- Git, Quilt, StGIT, Guilt, git send-email, distro patch queues.

### ソース

- <https://github.com/mackyle/topgit#readme>
- <https://mackyle.github.io/topgit/>
- <https://mackyle.github.io/topgit/topgit.html>
- <https://raw.githubusercontent.com/mackyle/topgit/master/ChangeLog>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - topgit - 0.8-3: normalized package name match | Debian stable package indexes: topgit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | a Git patch queue manager | https://repo.or.cz/w/topgit.git
- Ubuntu apt - topgit - 0.8-3: normalized package name match | Ubuntu 24.04 LTS package indexes: topgit from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | a Git patch queue manager | https://repo.or.cz/w/topgit.git
- apk - topgit - 0.19.13-r1: normalized package name match | Alpine Linux edge package indexes: topgit from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A different patch queue manager | https://github.com/mackyle/topgit
- apk - topgit-bash-completion - 0.19.13-r1: normalized package name match | Alpine Linux edge package indexes: topgit-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for topgit | https://github.com/mackyle/topgit
- apk - topgit-doc - 0.19.13-r1: normalized package name match | Alpine Linux edge package indexes: topgit-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A different patch queue manager (documentation) | https://github.com/mackyle/topgit
- dnf - topgit - 0.19.14-4.fc45: normalized package name match | Fedora Rawhide package metadata: topgit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A different patch queue manager | https://mackyle.github.io/topgit/
- Nix - tg: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/tg/tg/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/topgit.yml](https://github.com/mxcl/pkgdb/blob/main/combined/topgit.yml)


## ソース

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