How to Remove a Large File from Commit History in Git?

Eric Wei
3 min readDec 7, 2021

If you develop a game in Unity and save assets like images or audio files on Github without using Git FS, your repo’s size might become bigger and bigger when you make any changes to Github. Given the fact that Git History will record all the changes of codes, images, audio files, or even binary files.

--

--

Eric Wei

Senior Full Stack Developer & Cloud Architect | Certified AWS, Azure, Google Solution Architect | Cloud,DevOps, Unity, SDK, Mobile Game, App and Web Dev