Remote repo size is not reduced after clean up

This question is in reference to Atlassian Documentation: Reduce repository size

Hi,

I've cleaned repo with "git filter-branch", performed all 4 steps in section "Garbage collecting dead data" (in article https://confluence.atlassian.com/bitbucket/reduce-repository-size-321848262.html) and now local .git directory right after fresh cloning is 168 MB but BitBucket reports that remote repo size is still 1.1 GB and displays the warning about that.

Please tell how to expire/gc remote repo size?

Thank you!

2 answers

Bitbucket server will clean up the space on its own eventually.  If it's urgent for you to clean it up immediately for some reason, you can contact Atlassian support and they can force a garbage collection.

See this links for discussion on this topic:

https://answers.atlassian.com/questions/31672422

https://bitbucket.org/site/master/issues/3663/purge-dangling-objects-in-git#comment-19435301

Thank you Tim, it's clear now. The only issue is the warning in web UI is a little annoying. But just a little, so we will wait for some time for auto gc.

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

641 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot