macOS
brew install topgitlocal Homebrew formula metadata
brew / rank 15766
Git patch queue manager. Version 0.19.14 via Homebrew; verified 2026-06-15. Also installable with debian: sudo apt install topgit.
install
brew install topgitlocal Homebrew formula metadata
sudo apk add topgitAlpine Linux edge package indexes · topgit · source: dl-cdn.alpinelinux.org
sudo apt install topgitDebian stable package indexes · topgit · source: deb.debian.org
sudo dnf install topgitFedora Rawhide package metadata · topgit · source: dl.fedoraproject.org
nix profile install nixpkgs#tgnixpkgs package indexes · pkgs/by-name/tg/tg/package.nix · source: api.github.com
overview
Git patch queue manager
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
tg | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:topgit |
|---|---|
| Version | 0.19.14 |
| Package manager | Homebrew |
| Homepage | https://repo.or.cz/topgit/pro.git |
| Repository | https://github.com/mackyle/topgit |
| Last updated | 2026-06-15T10:21:22-04:00 |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
topgit 0.8-3
a Git patch queue manager
https://repo.or.cz/w/topgit.git
sudo apt install topgittopgit 0.8-3
a Git patch queue manager
https://repo.or.cz/w/topgit.git
sudo apt install topgittopgit 0.19.13-r1
A different patch queue manager
https://github.com/mackyle/topgit
sudo apk add topgittopgit-bash-completion 0.19.13-r1
Bash completions for topgit
https://github.com/mackyle/topgit
sudo apk add topgit-bash-completiontopgit-doc 0.19.13-r1
A different patch queue manager (documentation)
https://github.com/mackyle/topgit
sudo apk add topgit-doctopgit 0.19.14-4.fc45
A different patch queue manager
https://mackyle.github.io/topgit/
sudo dnf install topgittg
nix profile install nixpkgs#tgsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.