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

1 accepted

2 votes
Answer accepted

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 Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

247 views 0 12
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