What problem does it solve?
This Skill eliminates the complexity of managing stacked Git branches and dependent Pull/Change Requests, providing clear guidance and automating tedious rebasing and submission tasks. It helps developers avoid common pitfalls and maintain a clean, reviewable Git history.
Core Features & Use Cases
- Stacked Branch Management: Automates the creation, rebasing, and submission of dependent branches, ensuring a clean and organized Git history.
- Command Reference & Workflows: Provides a quick reference for
git-spice commands and guides through common workflows like creating a stack, updating branches after review, and syncing with upstream.
- Error Prevention: Highlights common mistakes and anti-patterns, ensuring you use
git-spice effectively without breaking stack relationships.
- Use Case: Streamline feature development by managing a series of dependent changes as a single, reviewable stack of PRs, ensuring clean history and easy collaboration.
Quick Start
Initialize your repo
gs repo init
Create a new stacked branch
gs branch create my-feature
View your stack
gs log short