this post was submitted on 06 Oct 2025
848 points (96.8% liked)

Programmer Humor

27048 readers
942 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
 

Yeah learned this the hard way.

you are viewing a single comment's thread
view the rest of the comments
[–] csm10495@sh.itjust.works 28 points 2 weeks ago (7 children)

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.

[–] SaharaMaleikuhm@feddit.org 1 points 2 weeks ago (2 children)

Why can't you just remove the file?

[–] einkorn@feddit.org 6 points 2 weeks ago

They most likely did in a later commit. However the commit adding it can not be removed as OP said. So in order for git to be able to work properly the file is still in the repository in case someone wants to check out a commit where it still was present.

load more comments (1 replies)
load more comments (5 replies)