v0.0.4
What's new in v0.0.4
Added
gh stack sync --prune: New flag (and interactive prompt) to delete local branches and remote-tracking refs for merged PRs during sync.gh stack initmulti-branch support: Pass multiple branch names as arguments toinit; existing branches are adopted automatically without any extra flag.- Contextual post-command hints: After
add,push,submit, andcheckout, the CLI now prints "what to do next" suggestions to guide users through the workflow. - Rebase workflow docs: New comprehensive "Rebasing Your Stack" section in the workflows guide covering cascading rebase, conflict resolution, and CLI vs. web UI differences.
- Grouped root help: Root
gh stack --helpnow organizes commands into categories (Core, Stack Management, Navigation, Other) with a "Learn More" footer linking to docs and feedback.
Changed
gh stack mergeremoved: The command was a placeholder that opened the browser rather than performing a real merge; it will be re-added once the merge API for Stacked PRs is available.gh stack initprefix detection: The--adoptflag is deprecated (hidden but still accepted); branch prefix is now auto-derived from branch names (e.g.feat/a feat/b→ prefixfeat) instead of prompting upfront.- TUI merged-branch guards: Merged branches can no longer be selected via keyboard, mouse click, or Enter in the stack view or modify TUI; the cursor skips over them automatically.
- Improved CLI help text: All commands now have
Longdescriptions andExampleblocks with real-world, commented usage for better discoverability.
Fixed
gh stack submiton partially-merged stacks: Merged PRs are now included in the API payload, preventing "Stack contents have changed" rejections when some branches in a stack have already been merged.
Changelog
- Bump astro from 6.1.8 to 6.3.1 in /docs in the npm_and_yarn group across 1 directory by @dependabot[bot] in #86
- Bump devalue from 5.6.4 to 5.8.1 in /docs in the npm_and_yarn group across 1 directory by @dependabot[bot] in #90
- commands help text by @skarim in #88
- remove merge command by @skarim in #89
- support multiple branches during init by @skarim in #91
- docs on rebase workflow by @skarim in #93
- prune merged branches by @skarim in #94
Full Diff: v0.0.3...v0.0.4