Releases: coderabbitai/git-worktree-runner
Releases · coderabbitai/git-worktree-runner
v2.7.2
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 = .claudewithexcludeDirs = .claude/worktrees.
Validation
git diff --checkshellcheck bin/gtr bin/git-gtr lib/*.sh lib/commands/*.sh adapters/editor/*.sh adapters/ai/*.sh./scripts/generate-completions.sh --checkbats tests/
v2.7.1
What's Changed
- Trust-gate executable
.gtrconfigentries, including hooks,defaults.editor, anddefaults.ai, so shared repo config cannot run hooks or select editor/AI commands until reviewed withgit gtr trust. - Remove unsafe shell-eval adapter command execution by parsing configured commands into argv.
- Fix Fish shell integration for linked worktrees:
.gtrconfigdiscovery, trust-helper cwd preservation, and multi-entry trust hash parity withgit gtr trust.
Verification
git diff --checkshellcheck bin/gtr bin/git-gtr lib/*.sh lib/commands/*.sh adapters/editor/*.sh adapters/ai/*.sh./scripts/generate-completions.sh --checkbats tests/(443 tests)
v2.7.0
[2.7.0] - 2026-04-27
Added
git gtr new --remoteandgtr.defaultRemote/GTR_DEFAULT_REMOTEto choose the remote used for default branch detection, fetches, and tracked branch creation (#171)--to <ref>forgit gtr clean --mergedto 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 cdfzf picker now changes directory when pressing Enter (#172) git gtr copynow honors configuredgtr.copy.includeDirsandgtr.copy.excludeDirs, including dry-run,--all, and--fromflows (#173)
v2.6.0
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
- @maro114510 made their first contribution in #158
Full Changelog: v2.5.0...v2.6.0
v2.5.0
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
- @averyjennings made their first contribution in #149
Full Changelog: v2.4.0...v2.5.0
v2.4.0
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 cdby @helizaga in #137 - chore: prepare v2.4.0 release by @helizaga in #138
New Contributors
- @akirasosa made their first contribution in #130
- @karan925 made their first contribution in #136
Full Changelog: v2.3.1...v2.4.0
v2.3.1
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
- @arwtyxouymz made their first contribution in #122
- @ivanviragine made their first contribution in #121
Full Changelog: v2.3.0...v2.3.1
v2.3.0
Immutable
release. Only release title and notes can be modified.
v2.2.0
Immutable
release. Only release title and notes can be modified.
What's Changed
- feat: add --folder flag for custom worktree folder names by @damianlewis in #82
- Fix: Exclude base directory from worktree list output by @adm-robinweston in #86
- fix(completions): add
git gtr completioncommand to solve zsh timing issue by @helizaga in #87 - fix(config): add file_key auto-mapping to cfg_default by @helizaga in #88
- feat(new): add --no-hooks flag to skip post-create hooks by @lucasrcezimbra in #91
- feat: add mv/rename command for worktree renaming by @kawarimidoll in #95
- feat: add Auggie CLI adapter by @cdhagmann in #84
- fix(copy): support paths with slashes in includeDirs by @helizaga in #103
- feat: add GitLab support for clean --merged by @helizaga in #105
- feat: add postCd hook for shell integration (#108) by @helizaga in #109
- chore: prepare v2.2.0 release by @helizaga in #110
New Contributors
- @adm-robinweston made their first contribution in #86
- @lucasrcezimbra made their first contribution in #91
- @kawarimidoll made their first contribution in #95
- @cdhagmann made their first contribution in #84
Full Changelog: v2.1.0...v2.2.0
v2.1.0
Immutable
release. Only release title and notes can be modified.
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
- @tsuno08 made their first contribution in #26
- @howonlee made their first contribution in #30
- @ueryooo made their first contribution in #33
- @echarrod made their first contribution in #31
- @damianlewis made their first contribution in #46
- @KazushiMatsuda made their first contribution in #44
- @scarf005 made their first contribution in #71
- @vampik33 made their first contribution in #68
- @Stormix made their first contribution in #78
Full Changelog: v2.0.0...v2.1.0