Reducing Git Repository size - git-filter-repo doesn't help
- From
- fawaz ahmed0 <fawazahmed0@hotmail.com>
- Date
- Jan 9, 2023, 02:22 UTC
- Message-ID
- <PH7PR12MB779560B6C003FEE76E4F2471F1FE9@PH7PR12MB7795.namprd12.prod.outlook.com>
Hi,
I have this huge repo: https://github.com/fawazahmed0/currency-api#readme and I am trying to reduce its size.
I have run filter-repo script on this repo ( https://github.com/fawazahmed0/currency-api/blob/1/.github/workflows/cleanup-repo.yml ) The commits were reduced from 1k to 600 , but the space used is still same. (i.e size-pack: 6.47 GiB , https://github.com/fawazahmed95/currency-api/actions/runs/3865919157/jobs/6589710845#step:5:1498 )
Almost all commits of this repo were applied on partially cloned repository: ( https://github.com/fawazahmed0/currency-api/blob/1/.github/workflows/run.yml ) So I guess it had never run any git maintenance task in it's life.
I am not sure what needs to be done to reduce it's space utilization. ( https://docs.github.com/en/repositories/working-with-files/managing-large-files/about-large-files-on-github#:~:text=less%20than%205%20GB%20is%20strongly%20recommended )
Thanks, Fawaz Ahmed