this post was submitted on 03 Jul 2025
119 points (94.7% liked)
Programmer Humor
37063 readers
21 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
also removed .git
You have backups? Right?
what garbage cleanup tool gets rid of dotfiles, especially .git? if you let us know we can learn to avoid it
shutil.remove_tree(BASE_DIR)
instead ofshutil.remove_tree(TEMP_DIR)
inside of tear down codeoh, I see. well, lessons learned hopefully! :)
On top of that, the content of
.git/objects/
is write protected, so even if you gorm -r
, you'll get an additional warning.