Hello, anyone. I noticed that my repository is very large because I uploaded some large apk files. I need you to run garbage collection on the cloud repository to fix the issue.
The repo is: <repo_url_redacted>
Thank you in advance.
Hi Vitor and welcome to the community!
I ran a git gc for your repo and its size has been reduced.
Did you rewrite history in the repo to remove the apk files? If the apk files were committed to the repo accidentally, a git gc alone will not remove them from the repo's history and they will still consume space in the repo. If you wanted to remove these files from the repo's history and you haven't done so already, you can check this post of mine in a different question with more details:
If you decide to proceed with the steps mentioned in that post and rewrite history in the repo with BFG, please keep in mind that the repo's size will get increased again once you push your changes. The repo will then need another git gc for the dangling commits (prior to history rewrite) to get removed and to get its size reduced. You can leave a reply here and I can run another git gc.
Just a heads up, I removed the repo URL from your post to protect your privacy.
Please keep in mind that the total space consumed by your workspace is over 1 GB. Starting April 28, 2025, we will enforce a limit of 1 GB for workspaces on the Free plan. If you do not reduce the size of your workspace or upgrade your plan, your workspace and its content will be put in read-only mode on April 28, 2025. There is more info on the following announcement:
Please feel free to reach out if you have any questions.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.