Skip to main content
Glama
list-worktrees.sh•354 B
#!/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 {}"

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/eyaltoledano/claude-task-master'

If you have feedback or need assistance with the MCP directory API, please join our Discord server