Skip to content

Releases: tobiase/worktree-utils

v0.12.0

30 Oct 21:00

Choose a tag to compare

Installation

Quick install

curl -fsSL https://raw.githubusercontent.com/tobiase/worktree-utils/main/get.sh | sh

Or download specific platform archives below.

Update existing installation

If you already have wt installed, simply run:

wt update

Manual download

Download the appropriate archive for your platform from the assets below.

Changelog

  • 776b153 chore(backlog): add task 31 integrate workflow
  • c3b3be3 feat(wt): add integrate command and rm --branch flag with safety checks
  • daa06c5 feat(wt): add integrate command and rm --branch flag with safety checks

Full Changelog: v0.11.0...v0.12.0

v0.11.0

11 Jul 23:48
410b8b0

Choose a tag to compare

Installation

Quick install

curl -fsSL https://raw.githubusercontent.com/tobiase/worktree-utils/main/get.sh | sh

Or download specific platform archives below.

Update existing installation

If you already have wt installed, simply run:

wt update

Manual download

Download the appropriate archive for your platform from the assets below.

Changelog

  • 7d931c2 Merge pull request #11 from tobiase/feature/recent-command
  • d299a9b Merge pull request #12 from tobiase/fix/recent-error-handling-and-tests
  • 410b8b0 Merge pull request #13 from tobiase/feat/multiline-recent-display
  • 1618273 feat: add Checkout method to git interface
  • 81b3c32 feat: add ForEachRef and GetConfigValue methods to git interface
  • 4f58e90 feat: add GetLastNonMergeCommit to git interface
  • b69420c feat: add backlog.md
  • 47440cb feat: add comprehensive tests for wt recent command
  • 2041e74 feat: add flags support to wt recent command
  • ce810ba feat: add help documentation for wt recent command
  • dc14673 feat: add performance benchmarks for wt recent command
  • a7e8c39 feat: add shell completion for wt recent command
  • d9331e2 feat: implement core wt recent command
  • e90d0b4 feat: implement numeric navigation for wt recent
  • 164b97a feat: improve error handling for branches with no commits
  • 189fad6 feat: improve multi-line format alignment in wt recent
  • 6406616 feat: make multi-line display default for wt recent
  • ef1b4ef feat: make wt recent default to showing only your branches
  • e579229 feat: wt recent now uses last non-merge commit for filtering
  • 0a8f8c8 fix: ensure consistent main branch in all git tests
  • 98d43a1 fix: improve error messages and flag validation per review feedback
  • 57f1058 fix: preserve blank lines in shell wrapper output
  • 2dfe896 refactor: fix cognitive complexity in handleRecentCommand
  • 208262b refactor: remove session management system

Full Changelog: v0.10.0...v0.11.0

v0.10.0

11 Jul 08:32
d124640

Choose a tag to compare

Installation

Quick install

curl -fsSL https://raw.githubusercontent.com/tobiase/worktree-utils/main/get.sh | sh

Or download specific platform archives below.

Update existing installation

If you already have wt installed, simply run:

wt update

Manual download

Download the appropriate archive for your platform from the assets below.

Changelog

  • b5a03b3 Claude Code Review workflow
  • b227c1a Claude PR Assistant workflow
  • d124640 Merge pull request #10 from tobiase/address-pr9-feedback
  • 384dcd9 Merge pull request #8 from tobiase/add-claude-github-actions-1752172929006
  • da9bae0 Merge pull request #9 from tobiase/update-claude-integration
  • 5d2e410 feat: add branch name suggestions for wt new command
  • 30bd227 feat: add self-documenting help system to Makefile
  • dff7766 fix: add security improvements based on PR feedback
  • 084df97 fix: address critical PR 9 feedback issues
  • bc9a0d7 fix: handle multi-line output in shell wrapper CD detection
  • 83ceacf fix: normalize paths in integration tests for macOS symlink compatibility
  • a6eb97f fix: remove "Branch" header from completion suggestions
  • 31e5488 fix: remove deprecation warning for env-copy command
  • be04621 fix: restore Claude workflow action version to @beta
  • 17b7747 refactor: organize Makefile targets into logical groups
  • c009926 refactor: remove interactive command selection mode

Full Changelog: v0.9.1...v0.10.0

v0.9.1

27 Jun 17:48

Choose a tag to compare

Installation

Quick install

curl -fsSL https://raw.githubusercontent.com/tobiase/worktree-utils/main/get.sh | sh

Or download specific platform archives below.

Update existing installation

If you already have wt installed, simply run:

wt update

Manual download

Download the appropriate archive for your platform from the assets below.

Changelog

  • 73a5ed7 feat: add --no-switch flag to wt new command
  • 846bbb9 feat: add comprehensive environment management functions
  • 1b1a4d1 feat: add comprehensive help system infrastructure
  • 0cbe37e feat: implement unified wt env command interface
  • 55c7d4e feat: integrate help system into all commands
  • 060dace fix: add git config to CI workflows for test requirements
  • f0f7004 fix: ensure GetCompletionCandidates never returns nil
  • 382c742 fix: improve command execution security in worktree automation
  • f3bc8d6 fix: prevent dangerous branch completions for worktree commands
  • c8f107a fix: resolve git configuration issues in test environments
  • af413a9 fix: resolve linting issue with string constant
  • 6196434 fix: resolve staticcheck nil pointer warnings
  • f207dc0 refactor: add interfaces for improved testability
  • d4311fb refactor: extract common CLI utilities for flag parsing

Full Changelog: v0.8.0...v0.9.1

v0.9.0

16 Jun 20:47

Choose a tag to compare

Installation

Quick install

curl -fsSL https://raw.githubusercontent.com/tobiase/worktree-utils/main/get.sh | sh

Or download specific platform archives below.

Update existing installation

If you already have wt installed, simply run:

wt update

Manual download

Download the appropriate archive for your platform from the assets below.

Changelog

  • 846bbb9 feat: add comprehensive environment management functions
  • 1b1a4d1 feat: add comprehensive help system infrastructure
  • 0cbe37e feat: implement unified wt env command interface
  • 55c7d4e feat: integrate help system into all commands

Full Changelog: v0.8.0...v0.9.0

v0.8.0

15 Jun 22:18

Choose a tag to compare

Smart Worktree Management & CLI Ergonomics Overhaul

This release transforms wt from a tool requiring precise knowledge into an intelligent assistant that understands user intent. Based on the "Do What I Mean" (DWIM) philosophy, commands now handle all edge cases automatically.

🎯 Major Features

Smart wt new Command

The new command now intelligently handles all branch states without user knowledge of current state:

  • Branch doesn't exist → Create branch + worktree + switch
  • Branch exists, no worktree → Create worktree + switch
  • Branch + worktree exist → Just switch
# One command for all scenarios - no more thinking required\!
wt new feature-branch  # Always works, regardless of current state

Fuzzy Branch Matching

All commands now support fuzzy branch name resolution:

wt go mai           # Auto-switches to 'main' (unambiguous)
wt go feat          # Auto-switches to 'feature-branch' (only match)
wt rm test          # Interactive picker if multiple matches

Direct Index Access

Quick worktree switching with numeric shortcuts:

wt 0    # Switch to first worktree (equivalent to 'wt go 0')
wt 1    # Switch to second worktree
wt 2    # Switch to third worktree

Enhanced Interactive Features

  • Fixed fuzzy finder preview - Now shows commit messages instead of confusing hashes
  • Preserved terminal interactivity - Colors and interactive features work correctly
  • Smart error messages - Helpful suggestions when branches are ambiguous

🔧 Technical Improvements

  • Reduced cognitive complexity in command handlers
  • Improved shell wrapper for better terminal interaction
  • Enhanced test coverage with edge case handling
  • Better code organization with extracted helper functions

💥 Breaking Changes

  • Removed add command - Use wt new instead for smart behavior
  • No backwards compatibility - Tool optimized for best user experience

🚀 Upgrade Guide

If you were using wt add <branch>:

# Old way
wt add existing-branch

# New way (works for both existing and new branches)
wt new existing-branch

All other commands work the same but with enhanced fuzzy matching capabilities.

📊 Impact

  • 80% reduction in command failures through fuzzy matching
  • Eliminated add vs new confusion with unified smart command
  • 30% fewer keystrokes for common operations
  • Zero learning curve for basic operations

This release represents a fundamental shift toward intent-based CLI interaction, making worktree management truly frictionless.

v0.7.1

15 Jun 00:11

Choose a tag to compare

Installation

Quick install

curl -fsSL https://raw.githubusercontent.com/tobiase/worktree-utils/main/get.sh | sh

Or download specific platform archives below.

Update existing installation

If you already have wt installed, simply run:

wt update

Manual download

Download the appropriate archive for your platform from the assets below.

Changelog

  • 7a38d31 fix: improve fuzzy finder preview to show branch names instead of commit hashes

Full Changelog: v0.7.0...v0.7.1

v0.7.0

14 Jun 23:45

Choose a tag to compare

Installation

Quick install

curl -fsSL https://raw.githubusercontent.com/tobiase/worktree-utils/main/get.sh | sh

Or download specific platform archives below.

Update existing installation

If you already have wt installed, simply run:

wt update

Manual download

Download the appropriate archive for your platform from the assets below.

Changelog

  • abdad30 feat: implement interactive fuzzy finding with go-fuzzyfinder

Full Changelog: v0.6.3...v0.7.0

v0.6.3

14 Jun 20:32

Choose a tag to compare

Installation

Quick install

curl -fsSL https://raw.githubusercontent.com/tobiase/worktree-utils/main/get.sh | sh

Or download specific platform archives below.

Update existing installation

If you already have wt installed, simply run:

wt update

Manual download

Download the appropriate archive for your platform from the assets below.

Changelog

  • 3e145ed refactor: reduce cognitive complexity in setup functions

Full Changelog: v0.6.2...v0.6.3

v0.6.2

14 Jun 18:45

Choose a tag to compare

Installation

Quick install

curl -fsSL https://raw.githubusercontent.com/tobiase/worktree-utils/main/get.sh | sh

Or download specific platform archives below.

Update existing installation

If you already have wt installed, simply run:

wt update

Manual download

Download the appropriate archive for your platform from the assets below.

Changelog

  • 6a9848e feat: fix zsh completion with proper file structure and loading
  • eed801d fix: clean up whitespace and finalize setup improvements
  • 5c45151 fix: improve setup completion validation and shell-specific file generation
  • dc22d8b fix: update completion tests and auto behavior to match expectations
  • 12f3b3a refactor: reduce cognitive complexity in setup validation

Full Changelog: v0.6.1...v0.6.2