Git Reset Mechanics

Use when undoing commits, unstaging files, or choosing between reset/checkout/restore — clarifies which tree each variant touches and when --hard is unsafe

narenaryan 52a865f 1.7 KB Updated

File contents

narenaryan/agent-skills/tree/main/skills/git/git-reset-mechanics commit 52a865f310

Frequently asked questions

npx skillmds@latest add narenaryan/git-reset-mechanics