How this skill is triggered — by the user, by Claude, or both
Slash command
/git-expert:git-reflogThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Track and recover commits that are no longer reachable from any branch or tag.
Track and recover commits that are no longer reachable from any branch or tag.
git reflog or git log -ggit reflog show <ref>git reflog --date=isogit checkout <reflog-hash> then create branchgit reset --hard HEAD@{n}git show HEAD@{n}git reflog expire --expire=30.days --allgit reflog delete HEAD@{n}git reflog show refs/stashTriggered when user says "reflog", "lost commit", "recover deleted branch", "undo reset".
First check reflog, then use git checkout -b <new-branch> <hash> to restore lost work.
npx claudepluginhub andersonlimahw/lemon-ai-hub --plugin git-expertMaster advanced Git workflows including interactive rebase, cherry-picking, bisect, worktrees, and reflog for clean history management and recovery.
Master advanced Git workflows: interactive rebase, cherry-picking, bisect, worktrees, and reflog for clean history, collaboration, and recovery.
Recover the branch to its state before a git operation using the reflog. Use when the user wants to undo or reverse a merge, rebase, reset, amend, squash, or "bad" history rewrite, says "get my commits back", "I messed up the rebase", "revert to before I ran X", or fears they lost commits. This recovers via reflog, distinct from git revert (which makes a new inverse commit).