Skip to content
Back to skills

081 Troubleshooting Bfc2a3f0

ASecurity

- **"not a git repository"** - You are not in `main/`. Change to the repo root and retry.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
documentationgit

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 081-troubleshooting_bfc2a3f0 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 081 Troubleshooting Bfc2a3f0?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 081 Troubleshooting Bfc2a3f0
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-081-troubleshooting-bfc2a3f0/badge)](https://www.skillsdirectory.com/skills/tools-only-081-troubleshooting-bfc2a3f0)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# Worktree Troubleshooting (Agent Reference)

## Common errors

- **"not a git repository"**
  - You are not in `main/`. Change to the repo root and retry.

- **"fatal: A branch named 'X' already exists"**
  - Use `git worktree add <path> <branch>` without `-b`.

- **"worktree already exists" / path exists**
  - Pick a new directory name or remove the old worktree:
    `git worktree remove <path>`

- **"locked" worktree**
  - Run `git worktree prune` and retry.

- **Uncommitted changes block checkout**
  - Commit, stash, or clean the working tree before creating a new worktree.

## Clean up

```
git worktree list
git worktree prune
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…