# Installer stgit avec Homebrew, apk, apt, dnf, MacPorts, Nix, zypper, scoop

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de stgit pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install stgit
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install stgit
```

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

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

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

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

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

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

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

## Faits du paquet

- **Clé du paquet:** brew:stgit
- **Gestionnaire de paquets:** Homebrew
- **Version:** 2.6.1
- **Résumé source:** Manage Git commits as a stack of patches
- **Page d'accueil:** <https://stacked-git.github.io>
- **Dépôt:** <https://github.com/stacked-git/stgit>
- **Dernière mise à jour:** 2026-06-22T09:29:52Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- stg (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 2.6.1
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour stgit. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.


## Autres enregistrements de gestionnaires de paquets

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


## Sources

- 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
