Concepts
State Management
How DubStack tracks branch relationships and operation state.
DubStack stores all state locally in your repository under .git/dubstack/.
State Files
state.json— Branch tracking relationships (parent/child graph)state.sqlite— Optional SQLite-backed branch tracking state for large repositoriesundo-log.json— Multi-level undo ring buffer (20 entries)redo-log.json— Redo ring populated whendub undoruns; cleared on the next new mutationrestack-progress.json— In-progress rebase/restack state for recovery
state.json is the default. See SQLite Backend to opt in to SQLite storage.
State Recovery
If state becomes corrupted or out of sync, use dub doctor to diagnose and repair issues.
No Cloud Dependency
All state is local to your git repository. There's no external service to authenticate with or depend on.