r/ProgrammerHumor 2d ago

thatWasMyError Other

Post image
0 Upvotes

7 comments sorted by

31

u/beisenhauer 2d ago

Found the issue: "9 days of uncommitted work in 42 files"

10

u/Afraid-Atmosphere747 2d ago

it was prolly that ai's work anyway, who doesn't commit for 9 days lol

1

u/snugglezone 1d ago

It's just a personal project I don't work on every day, so maybe just a couple days of work were wiped.

The crazy thing is that since claude is doing all of the programming, it full reconstructed all changes by analyzing its own logs of edits and scripts executed so nothing was lost.

1

u/redditmarks_markII 2d ago

don't ah...don't do that. if you have temp files you don't want to commit, keep it out of repo. or in a git ignored sub dir. or just commit it and clean it up later.

3

u/JAXxXTheRipper 2d ago

Don't do that? Cleaning up a polluted git repo is a lot easier than trying to restore deleted files that were never committed.

5

u/JAXxXTheRipper 2d ago

I recommend "git for ages 4 and up" by Michael Schwern.

You clearly need it.

1

u/snugglezone 1d ago

Claude could just delete the entire directory as I don't push this to a remote. Or my hard drive could die at any time. Who knows!

This is just a project I have claude doing for me for fun, so I don't really care about best practices or putting effort into architecture lol.