macOS
brew install stgitlocal Homebrew formula metadata
sudo port install stgitMacPorts ports tree · devel/stgit/Portfile · source: api.github.com
brew / rank 5457
Manage Git commits as a stack of patches. Version 2.6.1 via Homebrew; verified 2026-06-22. Also installable with debian: sudo apt install stgit.
install
brew install stgitlocal Homebrew formula metadata
sudo port install stgitMacPorts ports tree · devel/stgit/Portfile · source: api.github.com
sudo apk add stgitAlpine Linux edge package indexes · stgit · source: dl-cdn.alpinelinux.org
sudo apt install stgitDebian stable package indexes · stgit · source: deb.debian.org
sudo dnf install stgitFedora Rawhide package metadata · stgit · source: dl.fedoraproject.org
nix profile install nixpkgs#stgitnixpkgs package indexes · pkgs/by-name/st/stgit/package.nix · source: api.github.com
sudo zypper install stgitopenSUSE Tumbleweed package metadata · stgit · source: download.opensuse.org
scoop install main/stgitScoop official bucket manifest trees · bucket/stgit.json · source: api.github.com
overview
Manage Git commits as a stack of patches
history
Stacked Git, or StGit, is a command-line tool for managing Git commits as a stack of patches. It sits in the long-lived patch-queue tradition and gives Git users push, pop, refresh, and reorder operations for local patch series.
StGit's official documentation presents the project as an application for managing Git commits as a stack of patches, with the command-line executable stg. The project was originally implemented in Python and, as of version 2.0.0, is implemented in Rust.
The project homepage documents availability through Homebrew, MacPorts, Arch, Gentoo, crates.io, Guix, and Nix, plus project-provided deb, rpm, and msi packages. That package spread is notable because StGit appeals to version-control users who want a portable workflow across developer machines.
StGit is used inside ordinary Git repositories after initializing a patch stack. The tutorial compares it to Quilt and Mercurial Queues: patches are stored as Git commits, but StGit adds stack operations beyond regular commit editing.
Package nerds care about StGit because patch-stack tooling is part of distro and upstream-maintainer muscle memory. It helps maintain clean commit series, revise patches repeatedly, and prepare email-based or upstreamable changes without abandoning Git.
security posture
No matching local secret-handling manifest was found for stgit. Nucleus package metadata is still published here so future coverage has a stable package URL.
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 |
|---|---|---|---|
stg | 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:stgit |
|---|---|
| Version | 2.6.1 |
| Package manager | Homebrew |
| Homepage | https://stacked-git.github.io |
| Repository | https://github.com/stacked-git/stgit |
| Last updated | 2026-06-22T09:29:52Z |
| 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.
stgit 0.19-2
manage stacks of patches in a git repository
sudo apt install stgitstgit-contrib 0.19-2
set of contributed script to help working with stgit
sudo apt install stgit-contribstgit
nix profile install nixpkgs#stgitstgit 0.19-1.1
manage stacks of patches in a git repository
sudo apt install stgitstgit-contrib 0.19-1.1
set of contributed script to help working with stgit
sudo apt install stgit-contribstgit 2.6.1-r0
Manage a stack of patches using GIT as a backend
http://www.github.com/stacked-git/stgit
sudo apk add stgitstgit-bash-completion 2.6.1-r0
Bash completions for stgit
http://www.github.com/stacked-git/stgit
sudo apk add stgit-bash-completionstgit-doc 2.6.1-r0
Manage a stack of patches using GIT as a backend (documentation)
http://www.github.com/stacked-git/stgit
sudo apk add stgit-docstgit-emacs 2.6.1-r0
stg plugin for emacs
http://www.github.com/stacked-git/stgit
sudo apk add stgit-emacsstgit-fish-completion 2.6.1-r0
Fish completions for stgit
http://www.github.com/stacked-git/stgit
sudo apk add stgit-fish-completionstgit-vim 2.6.1-r0
vim filetype and syntax for stgit files
http://www.github.com/stacked-git/stgit
sudo apk add stgit-vimstgit-zsh-completion 2.6.1-r0
Zsh completions for stgit
http://www.github.com/stacked-git/stgit
sudo apk add stgit-zsh-completionstgit 2.6.1-2.fc45
Stack-based patch management for Git
https://stacked-git.github.io/
sudo dnf install stgitstgit 2.6.1-3.2
Stacked GIT - Source Code Management Tool
sudo zypper install stgitstgit-bash-completion 2.6.1-3.2
Bash Completion for stgit
sudo zypper install stgit-bash-completionstgit-emacs 2.6.1-3.2
emacs plugin for for stgit
sudo zypper install stgit-emacssource 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.