What problem does it solve?
gg enables you to manage stacked diffs with GitHub PRs or GitLab MRs. Use it to create stacks, sync updates, verify CI/review state, and land approved work safely.
Core Features & Use Cases
- Create/switch stacks (prefer worktrees) to isolate related changes.
- View and publish stack progress with JSON-friendly outputs (gg ls --json, gg sync --json).
- Navigate, amend, and reorganize commits (gg mv, gg sc, gg absorb, gg reorder, gg split).
- Land workflows with guardrails, including GitLab-specific auto-merge and merge trains.
- Lint, clean, and rebase to keep stacks green and tidy.
Quick Start
Set up gg, create a worktree-backed stack with gg co -w feature, commit changes, verify state with gg ls --json, and publish the stack with gg sync --json.