Re: Reducing Git Repository size - git-filter-repo doesn't help
- From
- fawaz ahmed0 <fawazahmed0@hotmail.com>
- Date
- Jan 11, 2023, 20:08 UTC
- Message-ID
- <PH7PR12MB77959E90F52C59140ED662DBF1FC9@PH7PR12MB7795.namprd12.prod.outlook.com>
- In-Reply-To
- <CABPp-BGh17pH1DUgPOoaDKBcKay3NAyi4js-HnEKAAyYUBSoYQ@mail.gmail.com>
Thank you for looking into this.
I have removed all the unnecessary refs on remote, and rerun the filter-repo and force pushed the changes again. To be be sure, I have also requested Github support to completely nuke the refs/pull and clear cache etc.
Also would like to let you know that git-filter-repo --analyze (which was also suggested by EriK), causes OOM in my case (also tried running in github actions with huge swap, but it exceeds 6 hours timeout limit).
I have verified size reduction (after running filter-repo) using: `git gc && git count-objects -vH`
Thank you once again for the help