Files
dotfiles/home/dot_config/fish/functions/wth.fish
Xevion 8804b425fb feat: add git worktree management utilities for Fish and Bash
Add comprehensive worktree tooling with FZF integration:
- wtb: create branch worktree with gitignored file cloning
- wtcd/wtr: interactive picker and multi-remove with FZF
- wtf/wth: feature/hotfix branch shortcuts
- wts/wtl: status overview and listing
- Automatic .worktrees/ organization and .gitignore management
2026-01-23 13:42:30 -06:00

12 lines
264 B
Fish

function wth --description "Create hotfix branch worktree"
if test (count $argv) -lt 1
echo "Usage: wth <hotfix-name> [base-ref]" >&2
return 1
end
set -l name $argv[1]
set -l base $argv[2]
wtb "hotfix/$name" $base
end