Git · Senior · Question 36 of 76

Why are huge files committed by mistake a long-term problem even after deletion?

Explanation

Only history rewriting (filter-repo --strip-blobs-bigger-than) removes them, with all the coordination costs. Pre-receive hooks or CI checks prevent them in the first place.

Further reading

Problem with a question

Git · Senior · question 36

Test yourself

Take the Git · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz