Hello,
I recently performed a repository cleanup using git filter-repo to remove build artifacts (bin/, obj/, packages/, etc.) from our repository history. The cleanup was successful - fresh clones are now ~941MB instead of the previous ~1.8GB.
However, the Bitbucket Cloud repository size has increased from 4GB to 11.5GB instead of decreasing.
What I did:
git filter-repo --invert-paths to remove build artifacts from all branchesCurrent situation:
git ls-remote shows only cleaned refs ✅It appears Bitbucket is retaining both the old unreferenced objects (~4GB) and the new filtered objects (~941MB), totaling 11.5GB.
Question: How can I trigger garbage collection on Bitbucket Cloud to remove the unreferenced objects from the old history? I understand automatic GC runs periodically, but is there a way to request manual GC or speed up this process?
The old objects are no longer referenced by any branches or tags, so they should be safe to prune.
Repository: https://bitbucket.org/igotchamedia/igotcha-signage-player (private repo)
Any help would be appreciated!
Welcome to the Atlassian community!
The Atlassian support team has been notified and they will reach out to you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.