HaiAI123

Curated Global AI Tools Directory

Industry update
Flat

Claude Code auto-runs git reset --hard on startup, wiping uncommitted work twice

11/03/2026 — 11/03, 20:19·1 sources (all)·1 reports (all)

Key takeaways

  • A developer filed a GitHub issue saying Claude Code ran git reset --hard origin/main on its own about a second into a session, erasing local…

Background & analysis

A developer reported in a GitHub issue that Claude Code ran git reset --hard origin/main on its own, within roughly one second of a session starting. The reset happened on two consecutive mornings while the developer was debugging an FPGA RDMA driver.

According to the issue, the first incident took place on March 12, 2026, when Claude Code reset the repository to origin/main at startup without any prompt, destroying commits the developer had made locally but never pushed. Most of that work was recovered from git reflog.

The second occurrence came the following morning, and this time the work could not be recovered. The reported material does not say how the issue was subsequently resolved, so the matter currently stands at this point.

AI-generated from 1 reports · updated 9 hours ago

Related AI tools

24-hour heatHeat index 77 · peak 100 · 8h ago
24 hours agonow

Reports on this story headlines open the original

Yesterday
  1. A developer reported on GitHub that Claude Code ran git reset --hard origin/main on its own within about a second of session startup, destroying locally made but unpushed commits — and did so on two consecutive mornings, with the second round unrecoverable. He was debugging an FPGA RDMA driver at the time.

    DEV Community · AIAI score 60

Other stories people are talking about

How is heat calculated?About the method

Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.

This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.

Surge
Discussion rising fast
New
First report within 6 hours
Rising
Still gathering discussion

Back to AI industry updates →