mirror of
https://github.com/eyaltoledano/claude-task-master.git
synced 2025-11-09 22:37:54 +00:00
Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
16 lines
354 B
Bash
Executable File
16 lines
354 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# List all git worktrees with helpful information
|
|
|
|
set -e
|
|
|
|
echo "📋 Git Worktrees:"
|
|
echo ""
|
|
git worktree list
|
|
echo ""
|
|
echo "To remove a worktree:"
|
|
echo " git worktree remove <path>"
|
|
echo ""
|
|
echo "To remove all worktrees:"
|
|
echo " git worktree list | grep -v '(bare)' | tail -n +2 | awk '{print \$1}' | xargs -I {} git worktree remove {}"
|