talira

git-spice

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 toolplan not known

Alternatives

The same job

These do what git-spice does.

  1. GitButler Version control for your agents
  2. Git Town Git branches made easy
  3. Graphite One tool. Everything you need to review and ship faster.
  4. Jujutsu (jj) A Git-compatible VCS that is both simple and powerful

Compare git-spice with the top 3