Manage stacked Git branches
open sourceGPL-3.0-onlyself-hostablefree
git-spice is a CLI for stacking Git branches: create, edit and navigate stacks, rebase them conveniently, and submit the whole stack or part of it as GitHub, Bitbucket, Gitea or Forgejo pull requests or GitLab merge requests. It works offline until you push or pull and can be adopted incrementally.
Ways to install
Package managers
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 |
|---|
Alternatives
The same job
These do what git-spice does.
- GitButler Version control for your agents
- Git Town Git branches made easy
- Graphite One tool. Everything you need to review and ship faster.
- Jujutsu (jj) A Git-compatible VCS that is both simple and powerful
