A single shell function that organizes git worktrees under ~/.worktrees/<repo>/<branch>/.
- Save
wt.shsomewhere, e.g.~/.config/wt/wt.sh - Add to your
.zshrcor.bashrc:
source "$HOME/.config/wt/wt.sh"
A single shell function that organizes git worktrees under ~/.worktrees/<repo>/<branch>/.
wt.sh somewhere, e.g. ~/.config/wt/wt.sh.zshrc or .bashrc:
source "$HOME/.config/wt/wt.sh"