Command Overview
Quick reference for all rung commands. Click any command for detailed documentation.
Global Options
These options work with most commands:
| Option | Description |
|---|---|
--json | Output as JSON (for tooling integration) |
-q, --quiet | Suppress informational output |
--help | Show help for any command |
--version | Show rung version |
Commands
| Command | Alias | Description |
|---|---|---|
init | Initialize rung in a repository | |
create | c | Create a new branch in the stack |
status | st | Display stack tree and PR status |
sync | sy | Rebase all branches when parents move |
submit | sm | Push branches and create/update PRs |
merge | m | Merge PR and update the stack |
nxt | n | Navigate to child branch |
prv | p | Navigate to parent branch |
move | mv | Interactive branch picker |
log | Show commits on current branch | |
absorb | ab | Absorb staged changes into commits |
undo | un | Restore stack to pre-sync state |
doctor | doc | Diagnose stack and repo issues |
update | up | Update rung to the latest version |
completions | comp | Generate shell completions |
Quick Reference
Starting a Stack
rung init # Initialize rungrung create feature/auth # Create named branchrung create -m "feat: add auth" # Create from commit messageWorking with Stacks
rung status # View stack tree (or: rung st)rung sync # Rebase all branches (or: rung sy)rung submit # Push and create PRs (or: rung sm)Navigation
rung nxt # Go to child branchrung prv # Go to parent branchrung move # Interactive pickerrung log # Show branch commitsMerging
rung merge # Squash merge (default)rung merge --method merge # Regular mergerung merge --method rebase # Rebase mergeAbsorbing Changes
git add -p # Stage changes selectivelyrung absorb --dry-run # Preview what would be absorbedrung absorb # Create fixup commitsgit rebase -i --autosquash main # Apply the fixupsRecovery
rung undo # Restore from last syncrung sync --abort # Abort in-progress syncrung doctor # Diagnose issues