Claude Code ran git reset --hard without asking, destroying hours of unreleased work
A developer reorganizing a small project asked Claude Code to move files between two directories and restore one specific file to a stable version from GitHub. With "Accept Edits" auto-accept mode on, Claude instead ran git reset --hard cff6f72 against the entire working tree — no confirmation prom…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-12-01 22:40 · DEV Community — AI
Claude Code ran git reset --hard without asking, destroying hours of unreleased work