Remote Repository Size Not Reduced After Using git filter-branch

inventiotech
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!
February 24, 2025

Hello,

I used git filter-branch to reduce the size of two of my repositories. Locally, the size has significantly decreased from approximately 500 MB each to less than 10 MB after running git gc, but the remote repository size on Bitbucket has not changed, even after force-pushing the updated history.

Is there a way for me to run git gc on the remote repository? If not, could someone from the support team please run it for me?

The repositories are:
1. https://bitbucket.org/i*******************s/ph****o
2. https://bitbucket.org/i*******************s/pi*******a

Thank you in advance for your assistance!

Best regards

1 answer

1 accepted

1 vote
Answer accepted
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 25, 2025

Hey @inventiotech ,

and welcome to the Community!

GC is executed from time to time based on some repository heuristics, but we from support can help expedite its execution.

I went ahead and manually triggered GC for the repositories you have shared, which helped to greatly reduce their size.

Could you check again and let us know if it looks good on your end ?

Thank you, @inventiotech !

Patrik S

inventiotech
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!
February 25, 2025

Hey Patrik,

Everything looks good on my end now. Thank you very much for your help!

Like Patrik S likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events