# stgit mit Homebrew, apk, apt, dnf, MacPorts, Nix, zypper, scoop installieren

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

## Installation

```sh
sudo av install brew:stgit
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install stgit
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install stgit
```

  Evidenz: MacPorts ports tree: devel/stgit/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add stgit
```

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

- Debian apt (92%):

```sh
sudo apt install stgit
```

  Evidenz: Debian stable package indexes: stgit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install stgit
```

  Evidenz: Fedora Rawhide package metadata: stgit 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#stgit
```

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

- zypper (92%):

```sh
sudo zypper install stgit
```

  Evidenz: openSUSE Tumbleweed package metadata: stgit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/stgit
```

  Evidenz: Scoop official bucket manifest trees: bucket/stgit.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:stgit
- **Paketmanager:** Homebrew
- **Version:** 2.6.1
- **Quellzusammenfassung:** Manage Git commits as a stack of patches
- **Homepage:** <https://stacked-git.github.io>
- **Repository:** <https://github.com/stacked-git/stgit>
- **Zuletzt aktualisiert:** 2026-06-22T09:29:52Z
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- stg (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

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

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

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

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.

### Zeitleiste

- 2017: The stacked-git/stgit GitHub repository was created.
- 2020s: StGit 2.0.0 marked the move from Python to Rust according to the official homepage.
- 2020s: The project documents package availability across Homebrew, MacPorts, Arch, Gentoo, crates.io, Guix, and Nix.

### Related projects

- Git is the required underlying version-control system.
- Quilt and Mercurial Queues are named by the official tutorial as comparable patch-stack tools.
- Email patch workflows are covered by the official tutorial.

### Quellen

- <https://api.github.com/repos/stacked-git/stgit>
- <https://github.com/stacked-git/stgit#readme>
- <https://stacked-git.github.io/>
- <https://stacked-git.github.io/guides/tutorial/>
- source_facts.package-manager


## Sicherheitshinweise

Für stgit wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.


## Andere Paketmanager-Einträge

- Debian apt - stgit - 0.19-2: normalized package name match | Debian stable package indexes: stgit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | manage stacks of patches in a git repository | http://www.procode.org/stgit/
- Debian apt - stgit-contrib - 0.19-2: normalized package name match | Debian stable package indexes: stgit-contrib from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | set of contributed script to help working with stgit | http://www.procode.org/stgit/
- Nix - stgit: normalized package name match | nixpkgs package indexes: pkgs/by-name/st/stgit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - stgit - 0.19-1.1: normalized package name match | Ubuntu 24.04 LTS package indexes: stgit from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | manage stacks of patches in a git repository | http://www.procode.org/stgit/
- Ubuntu apt - stgit-contrib - 0.19-1.1: normalized package name match | Ubuntu 24.04 LTS package indexes: stgit-contrib from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | set of contributed script to help working with stgit | http://www.procode.org/stgit/
- apk - stgit - 2.6.1-r0: normalized package name match | Alpine Linux edge package indexes: stgit from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Manage a stack of patches using GIT as a backend | http://www.github.com/stacked-git/stgit
- apk - stgit-bash-completion - 2.6.1-r0: normalized package name match | Alpine Linux edge package indexes: stgit-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for stgit | http://www.github.com/stacked-git/stgit
- apk - stgit-doc - 2.6.1-r0: normalized package name match | Alpine Linux edge package indexes: stgit-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Manage a stack of patches using GIT as a backend (documentation) | http://www.github.com/stacked-git/stgit
- apk - stgit-emacs - 2.6.1-r0: normalized package name match | Alpine Linux edge package indexes: stgit-emacs from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | stg plugin for emacs | http://www.github.com/stacked-git/stgit
- apk - stgit-fish-completion - 2.6.1-r0: normalized package name match | Alpine Linux edge package indexes: stgit-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fish completions for stgit | http://www.github.com/stacked-git/stgit
- apk - stgit-vim - 2.6.1-r0: normalized package name match | Alpine Linux edge package indexes: stgit-vim from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | vim filetype and syntax for stgit files | http://www.github.com/stacked-git/stgit
- apk - stgit-zsh-completion - 2.6.1-r0: normalized package name match | Alpine Linux edge package indexes: stgit-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Zsh completions for stgit | http://www.github.com/stacked-git/stgit
- dnf - stgit - 2.6.1-2.fc45: normalized package name match | Fedora Rawhide package metadata: stgit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Stack-based patch management for Git | https://stacked-git.github.io/
- zypper - stgit - 2.6.1-3.2: normalized package name match | openSUSE Tumbleweed package metadata: stgit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Stacked GIT - Source Code Management Tool | https://stacked-git.github.io
- zypper - stgit-bash-completion - 2.6.1-3.2: normalized package name match | openSUSE Tumbleweed package metadata: stgit-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for stgit | https://stacked-git.github.io
- zypper - stgit-emacs - 2.6.1-3.2: normalized package name match | openSUSE Tumbleweed package metadata: stgit-emacs from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | emacs plugin for for stgit | https://stacked-git.github.io


## Combined YAML source

View the package source record on GitHub. [combined/stgit.yml](https://github.com/mxcl/pkgdb/blob/main/combined/stgit.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
