mirror of
https://github.com/Xevion/dotfiles.git
synced 2026-01-31 06:24:13 -06:00
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
12 lines
267 B
Fish
12 lines
267 B
Fish
function wtf --description "Create feature branch worktree"
|
|
if test (count $argv) -lt 1
|
|
echo "Usage: wtf <feature-name> [base-ref]" >&2
|
|
return 1
|
|
end
|
|
|
|
set -l name $argv[1]
|
|
set -l base $argv[2]
|
|
|
|
wtb "feature/$name" $base
|
|
end
|