Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Repository size not reduced after large file removal

jhlchan April 4, 2025 edited

I am on the free plan, so I get an email warning because my repository (jhlchan.bitbucket.io) has size 1.3GB.

I removed a large file in it by git-filter-repo, and my local git count-objects -vH shows 880MB.

After a git push --force, my local git size is still 880MB, but remote repository size is now 2.25GB.

I read through related BitBucket articles, and this looks like somehow both my new and old copies are in my repository. Can the support team do a garbage collection for me?

If this can be resolved, may I ask what is the proper thing I should do to avoid the same thing happening (that is, end up with two copies after git-filter-repo (which rewrites history) and git push --force).

Thank you for your attention and help.

1 answer

1 accepted

0 votes
Answer accepted
Brant Schroeder
Community Champion
April 5, 2025

@jhlchan welcome to the Atlassian community 

I have escalated to Atlassian support.

jhlchan April 5, 2025

Thanks.

Like • Brant Schroeder likes this
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 7, 2025

Hi @jhlchan 

I've executed a gc against the repository - it has reduced to 880MB.

Cheers!

- Ben (Bitbucket Cloud Support)

jhlchan April 7, 2025

Many thanks!

Does this (two copies of repository on remote) happens every time when git-filter-repo rewrites history and then I issue git push --force?

 

jhlchan April 15, 2025

Thanks for the effort.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events