# Install git-spice with Homebrew, Nix

Manage stacked Git branches. Version 0.30.1 via Homebrew; verified 2026-07-02.

## Install

```sh
sudo av install brew:git-spice
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install git-spice
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#git-spice
```

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

## Package facts

- **Package key:** brew:git-spice
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/git-spice>
- **Version:** 0.30.1
- **Source summary:** Manage stacked Git branches
- **Homepage:** <https://abhinav.github.io/git-spice/>
- **Repository:** <https://github.com/abhinav/git-spice>
- **Upstream docs:** <https://abhinav.github.io/git-spice>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://github.com/abhinav/git-spice/archive/refs/tags/v0.30.1.tar.gz>
- **Last updated:** 2026-07-02T16:40:56Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- git-spice (cli)
- git-spice (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Caveats: The 'gs' executable has been renamed to 'git-spice'. If you prefer to use 'gs', add an alias to your shell configuration: alias gs='git-spice'
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.30.1
- Package-manager updated: 2026-07-02
- Local data: ok
- Upstream repository: https://github.com/abhinav/git-spice
- Upstream latest detected: v0.30.1 (current)
## Project history and usage

git-spice is a Git stacking tool that manages dependent branches and submits them as pull requests or merge requests across several forge providers.

### Project history

The project repository was created in 2023, with early public code and alpha tags appearing in 2024. Its documentation defines stacking as creating branches or change requests that build on top of each other so related work can stay small and reviewable while preserving dependency order.

git-spice grew from local branch navigation and restacking into a forge-aware workflow tool. The README and documentation describe support for GitHub, GitLab, Bitbucket, Gitea, Forgejo, and Codeberg-style workflows, while the changelog records later additions such as fork-based contribution flows, Ubuntu PPA packaging, and experimental stack merge commands.

### Adoption history

Adoption belongs to the stacked-PR niche, a workflow popular among engineers who split large changes into reviewable layers. The project documents incremental adoption, offline-first local state, shorthand commands, and a visible user-community section, making it part of the newer wave of Git tools that bring Phabricator-style stacked change review to GitHub and GitLab users.

### How it is used

Practitioners use git-spice through the git-spice executable or the gs shorthand. Typical flows create or track stacked branches, submit one branch or an entire stack, sync with trunk, delete merged branches, restack dependent branches after base changes, and keep local metadata in Git configuration.

### Why package nerds care

git-spice matters to package and developer-tool watchers because it is a forge-neutral, open-source entry in the stacked-branch space. Its packaging in Homebrew and Nix makes a workflow that once depended on hosted services or workplace-specific tooling easier to install as a normal CLI.

### Timeline

- 2023: GitHub repository was created.
- 2024: First public code and alpha tags appeared.
- 2026: Changelog entries documented fork workflows, additional forge support, and stack merge experiments.

### Related projects

- The related practice area is stacked pull requests and merge requests, with git-spice positioning itself as a Git-compatible branch manager rather than a replacement for Git.

### Sources

- <https://abhinav.github.io/git-spice>
- <https://formulae.brew.sh/formula/git-spice>
- <https://github.com/abhinav/git-spice>
- <https://github.com/abhinav/git-spice/blob/main/CHANGELOG.md>
- <https://github.com/abhinav/git-spice/blob/main/README.md>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .git/config, ~/.gitconfig, ~/.config/git/config, /etc/gitconfig
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** git-spice
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Nix - git-spice: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-spice/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [gcli](https://www.automicvault.com/pkg/brew/gcli/) - Shares av.db curated category or tags: cli, developer-tools, git, github, gitlab.
- [gitbackup](https://www.automicvault.com/pkg/brew/gitbackup/) - Shares av.db curated category or tags: cli, developer-tools, git, github, gitlab.
- [microplane](https://www.automicvault.com/pkg/brew/microplane/) - Shares av.db curated category or tags: cli, developer-tools, git, github, gitlab.
- [gh](https://www.automicvault.com/pkg/brew/gh/) - Shares av.db curated category or tags: cli, developer-tools, git, github, version-control.
- [git-open](https://www.automicvault.com/pkg/brew/git-open/) - Shares av.db curated category or tags: cli, developer-tools, git, github, version-control.
- [git-xargs](https://www.automicvault.com/pkg/brew/git-xargs/) - Shares av.db curated category or tags: cli, developer-tools, git, github, version-control.
- [glab](https://www.automicvault.com/pkg/brew/glab/) - Shares av.db curated category or tags: cli, developer-tools, git, gitlab, version-control.
- [hub](https://www.automicvault.com/pkg/brew/hub/) - Shares av.db curated category or tags: cli, developer-tools, git, github, version-control.
- [git-integration](https://www.automicvault.com/pkg/brew/git-integration/) - Package names and metadata indicate a similar tool family. Shared terms: branches, cli, control, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/git-spice.yml](https://github.com/automic-vault/db/blob/main/combined/git-spice.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
