Skip to content

Releases: coderabbitai/git-worktree-runner

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

v2.1.0

14 Jan 22:36
Immutable release. Only release title and notes can be modified.
v2.1.0
7a315d7

Choose a tag to compare

What's Changed

  • feat: add gemini adapter by @tsuno08 in #26
  • Add a coderabbit.yaml by @howonlee in #30
  • feat: add .worktreeinclude file support by @him0 in #28
  • fix: silence branch track output in auto mode by @ueryooo in #33
  • docs: merge duplicate Quick Start sections and streamline README by @echarrod in #31
  • fix: config get/unset now handle multi-value keys correctly by @helizaga in #37
  • feat: add .gtrconfig file for declarative configuration by @helizaga in #38
  • feat: add copy command for syncing files between worktrees by @helizaga in #39
  • fix: preserve symlinks when copying directories by @damianlewis in #46
  • fix: add # to sanitize_branch_name to prevent shebang issues by @KazushiMatsuda in #44
  • feat: add preRemove hooks by @damianlewis in #48
  • fix: display folder name instead of branch name in remove command by @damianlewis in #53
  • fix: surface Git error message on worktree removal failure by @helizaga in #55
  • feat: add GitHub Copilot CLI adapter by @helizaga in #56
  • fix: rename gtr.fish to git-gtr.fish by @scarf005 in #71
  • fix: add install script with platform detection by @helizaga in #63
  • feat: Add --merged flag to clean command for squash-merged PRs by @echarrod in #64
  • feat: enhance config command with list action and improved scope handling by @vampik33 in #68
  • feat: add --editor and --ai flags to new command by @helizaga in #72
  • docs: remove Related Projects section by @helizaga in #73
  • docs: document how to remove all merged worktrees by @scarf005 in #76
  • feat(editor): support opening .code-workspace files for VS Code/Cursor by @Stormix in #78
  • chore: prepare v2.1.0 release by @helizaga in #79
  • docs: add explicit PR links in changelog by @helizaga in #80

New Contributors

Full Changelog: v2.0.0...v2.1.0