# topgit mit Homebrew, apk, apt, dnf, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für topgit in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install topgit
```

  Evidenz: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add topgit
```

  Evidenz: 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
```

  Evidenz: 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
```

  Evidenz: 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
```

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

## Paketfakten

- **Paketschlüssel:** brew:topgit
- **Paketmanager:** Homebrew
- **Version:** 0.19.14
- **Quellzusammenfassung:** Git patch queue manager
- **Homepage:** <https://repo.or.cz/topgit/pro.git>
- **Repository:** <https://github.com/mackyle/topgit>
- **Zuletzt aktualisiert:** 2026-06-15T10:21:22-04:00
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- tg (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.19.14
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

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

### Quellen

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


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Andere Paketmanager-Einträge

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


## Quellen

- 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
