# git-spice

> Manage stacked Git branches

Source: https://talira.ai/catalog/git-spice-4dvn5ynf
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / git / stacked prs](https://talira.ai/categories/developer-tools/git/stacked-prs)
- Platforms: macos, linux, windows, cli
- Licence: GPL-3.0-only
- Pricing: Free and open source
- Free tier: yes
- Self-hostable: yes
- Creator: abhinav

git-spice is a CLI for stacking [Git](https://talira.ai/catalog/git-ab5bez9f.md) branches: create, edit and navigate stacks, rebase them conveniently, and submit the whole stack or part of it as [GitHub](https://talira.ai/catalog/github-ppcgj756.md), Bitbucket, [Gitea](https://talira.ai/catalog/gitea-6a3pktfs.md) or [Forgejo](https://talira.ai/catalog/forgejo-hszmrnya.md) pull requests or [GitLab](https://talira.ai/catalog/gitlab-y85n5jcy.md) merge requests. It works offline until you push or pull and can be adopted incrementally.

## Links

- Website: https://abhinav.github.io/git-spice/
- GitHub: https://github.com/abhinav/git-spice

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/git-spice>[^1]

## Problems it solves

- manage a chain of dependent branches without a paid service
- restack all my branches after changing one near the bottom
- open one PR per branch in my stack with one command
- stacked pull requests on GitLab or Codeberg, not just GitHub
- navigate up and down a stack of branches quickly
- open source alternative to stacked-diff tools tied to GitHub
- keep my normal git workflow and only add stacking when I need it
- update the PR descriptions to link every PR in the stack

## Features

- create/navigate/restack stacks
- submit stacks as PRs/MRs
- GitHub, GitLab, Bitbucket, Gitea, Forgejo
- offline operation
- command shorthands

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.62 out of 1.
Signals: maintenance 1.00, adoption 0.58, momentum 0.39, community 0.66, backing 0.20, extensibility 0.20.

- last commit 10 days ago
- 101 commits in the last 90 days
- latest release v0.33.0 29 days ago
- 780 GitHub stars
- 43 contributors
- accepts sponsorship (Github)
- created by abhinav

## Alternatives

- [GitButler](https://talira.ai/catalog/gitbutler-r3dwwgrx.md): Version control for your agents
- [Git Town](https://talira.ai/catalog/git-town-vannddpv.md): Git branches made easy
- [Graphite](https://talira.ai/catalog/graphite-e5611h41.md): One tool. Everything you need to review and ship faster.
- [Jujutsu (jj)](https://talira.ai/catalog/jujutsu-jj-s3nqz41c.md): A Git-compatible VCS that is both simple and powerful

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
