v1.0.0
First public release.
treeswitch is a macOS menu-bar tool (SwiftBar plugin) for switching your local dev servers between git worktrees.
Features
- A submenu per configured repo listing its git worktrees, with a ✓ on the one that's running.
- Click a worktree to kill that repo's server and relaunch it from the chosen worktree — headless, in its own process group (clean kill of the whole tree), with per-launch log rotation.
- ↩ Reset to main — one click switches every repo back to its default-branch worktree.
- GitHub PR numbers next to worktree branches (via
gh, cached + background-refreshed; works with GitHub Enterprise). - Dirty / ahead-behind hints, failure notifications, Stop all, restart, open-in-browser.
install.sh/uninstall.shand a non-destructivesmoke-test.sh.
Requirements
macOS, SwiftBar, zsh, git; gh optional (for PR numbers).