Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How do I request to run the garbage collection on my repositories?


I cleaned two of my repositories with the BFG tool. They are named "sphincs_repository_ft" and "lorene".

How can I request to run the garbage collection on them?

Thank you for your help,


1 answer

1 accepted

0 votes
Answer accepted
Caroline R Atlassian Team Sep 14, 2021

Hi, @Francesco Torsello! Welcome to the community! 

I ran the GC against your repositories as requested to remove the dangling commits.

To give you some context around the git GC process, Bitbucket triggers a garbage collection on the repository after each push, however aggressive GC is triggered by GIT once the unreachable/dangling objects become older than 30 days.

For this reason, there is no need for us to trigger a manual GC for your repository. However, we are happy to run it for you if you feel there is a need. 

We already have a feature request to allow users to mark repositories for git GC, as you can check here:

Please consider adding yourself as a watcher to receive the updates as we make progress with this. If you are not familiar with our Feature Request Policy, you can read more about it here.

Feel free to share any additional questions or concerns regarding this case.

Kind regards,

Hi Caroline,

Thank you for running the GC against my repositories, and for the useful info! I added myself as a watcher as you suggested.

I wasn't satisfied with the sizes of my repositories yet, so I cleaned them up more with the BFG tool. Locally, their present sizes are roughly 1.5MB and 13MB. Since I need them to be cleaned up on Bitbucket as soon as possible, I have to kindly ask you if you can run the GC again.

Thanks again for your assistance!

Best regards,


Caroline R Atlassian Team Sep 15, 2021

Hi, Francesco! 

I'm glad to help you! :) I ran the GC again and managed to reduce the size of these repositories to 1.5MB and 13MB. 

Kind regards,

Hi Caroline,

Thank you! 

Best regards,


Like Caroline R likes this
Caroline R Atlassian Team Sep 16, 2021

You are welcome, Francesco! 

Kind regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,225 views 2 9
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you