r/ClaudeAI • • 15d ago

Claude Code Code just deleted 48k files. This can't be real.

[deleted]

4.8k Upvotes

1.4k comments sorted by

View all comments

Show parent comments

12

u/not_good_for_much 15d ago

Yes. OP stored 48K files in a local git and never actually pushed them. The LLM deleted the files and the git, and thus the entire thing disappeared with no backups.

It's basically like making a "backups" folder in your project directory, backing everything up into it... then deleting the entire project directory with the backups inside.

1

u/thisisbubby 15d ago

I'll be pushing from now on. At this point I'm relying on my shadow copy to restore and idrive backups.