git-spice

SKILL.md

git-spice CLI

git-spice (gs) is a CLI tool for managing stacked Git branches. It tracks relationships between branches, enables easy navigation, and creates stacked Pull Requests on GitHub or Merge Requests on GitLab.

Key Concepts

  • Stack: Collection of branches stacked on top of each other
  • Trunk: The default branch (main/master) with no base
  • Upstack: Branches above the current branch
  • Downstack: Branches below the current branch (not including trunk)
  • Restacking: Rebasing a branch onto its base to maintain linear history

Command Reference

Repository Commands (gs repo / gs r)

Installs
13
First Seen
Apr 1, 2026