826

Yeah learned this the hard way.

you are viewing a single comment's thread
view the rest of the comments
[-] BootLoop@sh.itjust.works 4 points 2 days ago

Does deleting the repo off disk and redownloading from remote considered recovering? If so I'm a git expert.

[-] toynbee@lemmy.world 5 points 2 days ago

Delete? Never.

mv git_repo git_repo.bad
[-] BootLoop@sh.itjust.works 3 points 1 day ago

I do this sometimes but then I forget about it and then node_modules in each repo fills my SSD.

[-] toynbee@lemmy.world 1 points 1 day ago

I mostly only use git at work and I guess I've never had the same work machine long enough to worry about this. It helps that each of our repos is fairly small. At least the ones I touch.

this post was submitted on 06 Oct 2025
826 points (96.7% liked)

Programmer Humor

26772 readers
772 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS