Skip to content

v0.0.5

Choose a tag to compare

@github-actions github-actions released this 26 May 21:46
bf2358b

What's new in v0.0.5

Added

  • Insert branches with gh stack modify: New i / I keybindings in the modify TUI to insert empty branches below or above the cursor, applied alongside other structural changes.
  • gh stack add adopts existing branches: If the target branch already exists locally and isn't part of another stack, add adopts it instead of erroring.
  • gh stack trunk: New navigation command that checks out the trunk branch of the current stack.
  • gh stack rebase --committer-date-is-author-date: New opt-in flag (alias --preserve-dates) keeps committer dates equal to author dates so identical content rebased onto an identical parent produces stable SHAs.
  • Inline prefix prefill in prompts: Branch name prompts in init/add now place the configured prefix directly in the editable input (with cyan-colored user text) instead of silently prepending it.

Changed

  • gh stack modify smart checkout: After modify, the CLI now switches to the nearest surviving branch (rename target, fold target, neighbor, or stack top) instead of staying on the original branch, which may no longer be part of a stack.
  • gh stack modify only requires submit when PRs are affected: Modify only transitions to the pending-submit phase when changes touch branches with open PRs; purely local restructuring is applied immediately and does not trigger the prompt to submit.
  • Bump github.com/cli/cli/v2 from 2.86.0 to 2.92.0.

Fixed

  • gh stack sync skipping rebase after a local git pull: Sync now runs the cascade rebase whenever stack branches are stale relative to trunk, not only when trunk or branches were fast-forwarded in the current run.

Changelog

  • Bump github.com/cli/cli/v2 from 2.86.0 to 2.92.0 in the go_modules group across 1 directory by @dependabot[bot] in #103
  • fix for rebase in sync cmd by @skarim in #95
  • rebase with preserve dates opt by @skarim in #96
  • input prompter improvements by @skarim in #98
  • update add cmd to adopt existing branches by @skarim in #101
  • swtich to nearest surviving branch after modify by @skarim in #105
  • modify: only require submit when changes affect PRs by @skarim in #106
  • insert branches with modify by @skarim in #107
  • trunk command by @skarim in #108

Full Diff: v0.0.4...v0.0.5