Loading...
Loading...
Found 3 Skills
Git troubleshooting techniques including recovering lost commits, fixing merge conflicts, resolving detached HEAD, and diagnosing repository issues. Use when user encounters git errors or needs to recover from mistakes.
Guide for recovering lost Git commits, resolving detached HEAD states, and fixing common Git repository issues. This skill should be used when users need help recovering from Git mistakes such as lost commits, detached HEAD situations, accidental resets, or when commits appear to be missing from branches.
Establish where you are and what is safe to do when a repository operation refuses or the state is unclear: a switch blocked by local changes, a branch already checked out in another workspace, a name that will not resolve, a detached head, refs that may be out of date, or old workspaces to clean up. Nothing uncommitted is discarded and nothing is removed without positive evidence it landed. Use when the user says "can not switch branches", "am I detached", "fetch is not picking up the new branch", or pastes a git refusal. Not for merge-conflict content, commit messages, judging a diff, or commands that are already working.