Claude Code ran `git reset --hard` at startup and destroyed uncommitted work, twice
A developer debugging an FPGA RDMA driver reported that Claude Code ran git reset --hard origin/main on its own, within about a second of session startup — and that it did this on two consecutive mornings, the second time with no way to get the work back. What the source says Per the reporter's Git…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-11-03 11:57 · DEV Community — AI
Claude Code ran `git reset --hard` at startup and destroyed uncommitted work, twice