I’ve cleaned the Git history using `git filter-repo`, removed all large files, and force-pushed all branches and tags.
The `.git` folder is now much smaller, but Bitbucket still shows the repo as 2.3GB.
How does this repository size gets updated?
Thanks!
Hi @Sonam Yadav and welcome to the community!
A garbage collection runs automatically on every push, but with different parameters every time depending on many different conditions. If the automated git gc does not clean up your repo, you can always create a question in community and ask that we run it for your repo manually.
I ran a git gc for your repo that had a size of 2.3 GB and its size has been reduced. Does it look ok now on your end?
Kind regards,
Theodora
Hi @Sonam Yadav ,
As far as I know, once the objects are unreachable, garbage collection will run automatically. It might not be immediate and could take some time, depending on the internal dynamics of Bitbucket. If you need immediate garbage collection, I believe Atlassian support can help you with that and run it manually.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.