Skip to content

Releases: coderabbitai/git-worktree-runner

v2.7.3

05 May 02:57
4fe2d08

Choose a tag to compare

Fixed

  • Worktree inventory now uses Git's registered worktree list so nested registered worktrees are listed, resolved, copied, and cleaned correctly without bogus parent-directory entries (#178).

Full Changelog: v2.7.2...v2.7.3

v2.7.2

28 Apr 22:36
32dc340

Choose a tag to compare

Fixed

  • Directory copying now skips excluded child subtrees during copy instead of cloning them and deleting them afterward. This avoids expensive copy-then-delete work for configs such as includeDirs = .claude with excludeDirs = .claude/worktrees.

Validation

  • git diff --check
  • shellcheck bin/gtr bin/git-gtr lib/*.sh lib/commands/*.sh adapters/editor/*.sh adapters/ai/*.sh
  • ./scripts/generate-completions.sh --check
  • bats tests/

v2.7.1

28 Apr 02:29
86563fb

Choose a tag to compare

What's Changed

  • Trust-gate executable .gtrconfig entries, including hooks, defaults.editor, and defaults.ai, so shared repo config cannot run hooks or select editor/AI commands until reviewed with git gtr trust.
  • Remove unsafe shell-eval adapter command execution by parsing configured commands into argv.
  • Fix Fish shell integration for linked worktrees: .gtrconfig discovery, trust-helper cwd preservation, and multi-entry trust hash parity with git gtr trust.

Verification

  • git diff --check
  • shellcheck bin/gtr bin/git-gtr lib/*.sh lib/commands/*.sh adapters/editor/*.sh adapters/ai/*.sh
  • ./scripts/generate-completions.sh --check
  • bats tests/ (443 tests)

v2.7.0

27 Apr 22:59
acb53b9

Choose a tag to compare

[2.7.0] - 2026-04-27

Added

  • git gtr new --remote and gtr.defaultRemote / GTR_DEFAULT_REMOTE to choose the remote used for default branch detection, fetches, and tracked branch creation (#171)
  • --to <ref> for git gtr clean --merged to limit cleanup to PRs/MRs merged into a specific target ref, with branch-tip matching for reused branch names (#167)

Fixed

  • Repo root resolution now works correctly from subdirectories (#166)
  • Hooks that read stdin no longer drain input and skip later hooks (#165)
  • Fish git gtr cd fzf picker now changes directory when pressing Enter (#172)
  • git gtr copy now honors configured gtr.copy.includeDirs and gtr.copy.excludeDirs, including dry-run, --all, and --from flows (#173)

v2.6.0

19 Mar 19:17
c765e62

Choose a tag to compare

What's Changed

  • fix: preserve bash wrapper completion context by @helizaga in #159
  • feat(clean): add --force flag to git gtr clean --merged by @maro114510 in #158

New Contributors

Full Changelog: v2.5.0...v2.6.0

v2.5.0

11 Mar 03:04
5afbfa8

Choose a tag to compare

What's Changed

  • fix(ux): improve fzf picker discoverability and empty state by @helizaga in #139
  • [Bugfix] open with AI with fuzzy search by @karan925 in #140
  • feat(init): add ctrl-n keybinding to create new worktree from fzf picker by @karan925 in #141
  • feat(init): cache output for faster shell startup by @helizaga in #142
  • feat(ai): run postCd hooks before launching AI process by @helizaga in #145
  • fix(core): resolve --from ref to SHA to prevent git DWIM overriding branch name by @damianlewis in #147
  • fix: use origin/ ref when branching from default branch by @averyjennings in #149
  • Add shell-integration support for new --cd by @helizaga in #151
  • fix(completion): support Homebrew-installed completion assets by @helizaga in #155

New Contributors

Full Changelog: v2.4.0...v2.5.0

v2.4.0

24 Feb 21:15
929026d

Choose a tag to compare

What's Changed

  • perf(copy): limit find depth for simple directory patterns by @akirasosa in #130
  • Fix Google's Antigravity support by @ivanviragine in #131
  • fix(copy): match root-level files for ** glob patterns on Bash 3.2 by @helizaga in #133
  • feat(init): interactive fzf worktree picker + fix zsh locale error (#134) by @karan925 in #136
  • fix: show helpful error when running git gtr cd by @helizaga in #137
  • chore: prepare v2.4.0 release by @helizaga in #138

New Contributors

Full Changelog: v2.3.1...v2.4.0

v2.3.1

17 Feb 20:40
161b478

Choose a tag to compare

What's Changed

  • fix: resolve gtr/coreutils naming conflict and add cd completions by @helizaga in #125
  • fix: resolve main repo root correctly from inside worktrees by @helizaga in #126
  • perf: use CoW (copy-on-write) cloning for directory copies by @arwtyxouymz in #122
  • fix: resolve_target fallback via git worktree list for external worktrees by @helizaga in #128
  • Add Google's Antigravity support by @ivanviragine in #121
  • chore: prepare v2.3.1 release by @helizaga in #129

New Contributors

Full Changelog: v2.3.0...v2.3.1

v2.3.0

12 Feb 08:33
Immutable release. Only release title and notes can be modified.
4858fb6

Choose a tag to compare

What's Changed

  • modularize bin/gtr into libraries and add BATS test suite by @helizaga in #119
  • feat: color output, per-command help, and 62 new tests by @helizaga in #120

Full Changelog: v2.2.0...v2.3.0

v2.2.0

11 Feb 06:30
Immutable release. Only release title and notes can be modified.
v2.2.0
53c476d

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.1.0...v2.2.0