Releases: silasvasconcelos/simple-git-worktreee
Releases · silasvasconcelos/simple-git-worktreee
v1.2.0
v1.1.0
Added
--goflag forgit wt add— prints the worktree path to stdout forcdintegration (cd "$(git wt add branch --go)").git wt rootcommand — prints the main repository root path, works from any worktree.- Hook system via
.git-wtrcconfig file — supportspre-add,post-add,pre-remove, andpost-removehooks 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 forgit 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 removeno longer fails in non-interactive environments (CI/CD) when/dev/ttyis unavailable — the branch delete prompt is now safely skipped with an informational message.
v1.0.0
Added
git wt add <branch> [base]command to create worktrees with automatic fetch, default-branch detection, and.gitignoremanagement.git wt listcommand to list all worktrees (aliasls).git wt remove <branch>command to remove a worktree (aliasrm).git wt prunecommand to clean up stale worktree references.git wt path <branch>command to print the absolute path of a worktree.git wt helpandgit wt versioncommands.- Per-command
--help/-hflag with detailed usage, arguments, and examples. - Automatic
.worktrees/directory creation and.gitignoreentry management. install.shinstaller for Linux and macOS.install.ps1installer 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.