Loading...
Loading...
DubStack CLI reference. Use for managing stacked changes (git branches). Covers creating stacks, navigating, submitting PRs, rebasing (restacking), and undoing mistakes.
npx skill4agent add wiseiodev/dubstack dubstackmainfeat/afeat/bmainnpm install -g dubstackbrew install wiseiodev/dubstack/dubstackgh auth loginghdub createdub initdub create <name> -am "<msg>"dub create <name>dub logdub checkoutdub codub checkout <name>git addgit commitgit addgit commitdub co <parent>dub restackdub restackdub ssdub ss --dry-rundub undo| Command | Description |
|---|---|
| Create branch, stage all, commit (like |
| Show ASCII tree of current stack |
| Interactive branch picker (alias |
| Push branches & create/update PRs (alias for |
| Rebase all branches in stack onto their parents |
| Undo last |
| Manually initialize DubStack (optional) |
| Problem | Solution |
|---|---|
| "Not authenticated" | Run |
| "Branch name exists" | Choose different name |
| "Conflict during restack" | Resolve files, |
| "Need to sync with main" | |
| "Accidentally modified wrong branch" | |
QUICKSTART.md