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 Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

408 views 5 9
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