I made a huge mistake.
I made a repo with some files. I made some commits, everything was working right. But then I realized, 2 files had a very very huge mistake, which made them about 200 Mb in size, when they should be about 2 Mb (no joking). They are on the root commit. I managed to ammend the root commit with the right files, but my repo is still about 500 Mb, which makes it very hard to manage. If I reset to root commit, those files are the right files.
I haven't pushed to a central repo yet because of this. It just takes forever to upload 500 MB.
So, I was wondering how could I delete those 200Mb files from repo, even if they are no more in any commit. Which commands should I use? Should I simply delete biggest blob files? Am I crazy? Did I make something really really wrong?
Thanks. I'm really in a hurry.
I had already ran git gc, but it only reduced it about 40 Mb. I think those nasty files are still there, so I´m not sure what to do.