Git · Senior · Question 36 of 76
Why are huge files committed by mistake a long-term problem even after deletion?
- 1They slow down only the commit that added them
- 2Git keeps a second copy in every branch
- ✓Correct answer: They stay in history, so every clone downloads them
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.