Back to skills
SKILL.md
Error Handling
ASecuritySub-skill of git-worktree-workflow: Error Handling.
- 17 stars
- 0 votes
- 0 copies
- 1 view
- Added September 9, 2026
Security analysis
100/100npx -y skills add vamseeachanta/workspace-hub --skill error-handling --agent claude-codeAre you the author of Error Handling?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/vamseeachanta-error-handling-0ecf3bf2)---
name: git-worktree-workflow-error-handling
description: 'Sub-skill of git-worktree-workflow: Error Handling.'
version: 1.1.0
category: development
type: reference
scripts_exempt: true
---
# Error Handling
## Error Handling
| Error | Cause | Solution |
|-------|-------|----------|
| Branch already checked out | Branch exists in another worktree | Remove existing worktree or use different branch |
| Cannot remove worktree | Uncommitted changes present | Commit, stash, or force remove |
| Permission errors | Directory not writable | `chmod -R u+w <worktree>` then remove |
| Stale worktree references | Worktree directory deleted manually | Run `git worktree prune` |
| Lock file exists | Previous operation interrupted | Remove `.git/worktrees/<name>/locked` file |
| Path already exists | Directory exists at target path | Choose different path or remove existing directory |
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.