Skip to content

What you get

One tool, entire workflow.

gs manages the full lifecycle of stacked branches — from creation to landing — so you stay in your editor instead of fighting git.

Stack creation

gs create feat/api

Branch off the current head and register the parent relationship in one step. Chain as many as you need.

feat/apifeat/authmain
← parent tracked automatically

Automatic restacking

gs restack

Rebase an entire subtree when a parent changes. One command, any scope: single branch, upstack, downstack, or everything.

old basechild
new basechild

Stack navigation

gs up / gs down / gs top / gs bottom

Move through your stack by structure, not by name. Jump to the leaf, drop to trunk, or step one branch at a time.

bottomyoutop

Mid-stack edits

gs modify --stage-all

Amend or add a commit to any branch. Direct children restack immediately; deeper descendants on demand.

Branch lifecycle

gs delete / gs move / gs fold / gs rename

Delete, reparent, squash, or rename branches. Children are reparented automatically so the stack stays valid.

MCP server

gs mcp

A native Model Context Protocol server that exposes every operation as a structured JSON tool. AI agents interact with your stack the same way you do.

Ready?

Try stacked branches without installing anything.

Open the Sandbox