The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Remote repo size is not reduced after clean up

vshtronda
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 30, 2015

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!

3 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted
Tim Crall
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 30, 2015

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

1 vote
SayedZaman
January 7, 2020

I had pushed some large file and it gave me warning about repo size. I deleted them from the branches but still the size has not got decreased. How can i force the size to get decreased?

0 votes
vshtronda
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 1, 2015

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.

TAGS
AUG Leaders

Atlassian Community Events