838

Yeah learned this the hard way.

you are viewing a single comment's thread
view the rest of the comments
[-] Quantenteilchen@discuss.tchncs.de 11 points 4 days ago

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).

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

Programmer Humor

26827 readers
2906 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