Skip to content

Releases: silasvasconcelos/simple-git-worktreee

v1.2.0

17 Apr 12:20

Choose a tag to compare

Changed

  • git wt list now shows only the worktree name (branch) by default, producing cleaner, script-friendly output. Pass --path to also display the absolute path after the name (<name>\t<path>).

v1.1.0

09 Apr 16:33

Choose a tag to compare

Added

  • --go flag for git wt add — prints the worktree path to stdout for cd integration (cd "$(git wt add branch --go)").
  • git wt root command — prints the main repository root path, works from any worktree.
  • Hook system via .git-wtrc config file — supports pre-add, post-add, pre-remove, and post-remove hooks with environment variables (GIT_WT_BRANCH, GIT_WT_PATH, GIT_WT_ROOT, GIT_WT_BASE). Hooks can be any executable: shell, Python, Ruby, etc.
  • --delete-branch (-db) flag for git wt remove — automatically deletes the local branch without prompting (git wt rm feature -db).

Changed

  • Status messages (info, success) now print to stderr, keeping stdout clean for machine-readable output.

Fixed

  • git wt remove no longer fails in non-interactive environments (CI/CD) when /dev/tty is unavailable — the branch delete prompt is now safely skipped with an informational message.

v1.0.0

09 Mar 19:20

Choose a tag to compare

Added

  • git wt add <branch> [base] command to create worktrees with automatic fetch, default-branch detection, and .gitignore management.
  • git wt list command to list all worktrees (alias ls).
  • git wt remove <branch> command to remove a worktree (alias rm).
  • git wt prune command to clean up stale worktree references.
  • git wt path <branch> command to print the absolute path of a worktree.
  • git wt help and git wt version commands.
  • Per-command --help / -h flag with detailed usage, arguments, and examples.
  • Automatic .worktrees/ directory creation and .gitignore entry management.
  • install.sh installer for Linux and macOS.
  • install.ps1 installer for Windows PowerShell.
  • Homebrew formula for brew install.
  • Scoop manifest for scoop install.
  • CI workflow with ShellCheck linting and smoke tests on Ubuntu and macOS.
  • Release workflow with automated GitHub Releases, Homebrew tap updates, and Scoop bucket updates.