this post was submitted on 06 Oct 2025
850 points (96.7% liked)
Programmer Humor
27950 readers
167 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Special shout out to the person who committed a gigabyte memory dump a few years ago. Even with a shallow clone, it's pretty darn slow now.
We can't rewrite history to remove it since other things rely on the commit IDs not changing.
Oh well.
Why can't you just remove the file?
Because the git history will still keep it completely to be able to restore it once you go to a commit in which it wasn't deleted.
And you cannot tell git to completely forget about it as that requires a rewrite of history and this changes all commit hashes which are touched (and any future ones).