troubleshoot-worktree

Community

Fix Git worktree and branch issues

AuthorJacobPEvans
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps diagnose and resolve common and critical issues related to Git worktrees, branches, and reference names, ensuring a clean and functional Git environment.

Core Features & Use Cases

  • Diagnose Ambiguous Refnames: Identifies and provides commands to fix the "refname is ambiguous" warning.
  • Worktree Management: Offers solutions for adding, finding, and removing Git worktrees.
  • Branch Recovery: Guides users through fetching, resetting, and recovering branches.
  • Use Case: When Git reports an ambiguous refname like origin/main, this Skill provides the exact commands to diagnose and fix the conflict, preventing further Git errors.

Quick Start

Run git worktree list, git branch -a, and git status to diagnose your Git worktree and branch issues.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: troubleshoot-worktree
Download link: https://github.com/JacobPEvans/claude-code-plugins/archive/main.zip#troubleshoot-worktree

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.