fix-git
Installation
SKILL.md
Git Recovery and Fix Skill
This skill provides systematic approaches for diagnosing and recovering from common Git problems, particularly lost commits and detached HEAD situations.
When to Use This Skill
- Recovering commits that appear to be "lost" or missing
- Fixing detached HEAD states where work was committed but not on a branch
- Recovering from accidental
git resetorgit checkoutoperations - Restoring work after switching branches without committing
- Investigating what happened to missing changes in a repository
Diagnostic Approach
Initial Assessment
To diagnose a Git recovery situation, run these commands in parallel to understand the repository state: