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

2gb, can't push and can't resolve by myself


We are a team of web developers and our business app code is hosted on Bitbucket. We just now realized we can't push our changes anymore due to our repository going over 2GB size. So, therefore, I went in and deleted a bunch of unneeded files and also older branches. I removed more than 1GB of files, but it still doesn't let me push and says I have a 2GB repository.

I've tried your guide: and also searched online for some solutions, but it seems that we can't do anything from our side.

I've also opened a support ticket one day ago but no one replied to us.
We're with Premium members and actually, this kind of lock can be very problematic to our running business if it will last any longer. It seems that the only solution is for you to run a 'git gc'.

Can someone please help? Also, could anyone tell us how to unlock this issue by ourselves, in the future maybe? Thanks a lot!

1 comment

Hello @sergio_sorgente ,

Welcome to the Community.

I just ran aggressive GC for the repository in question, it is not well below the read-only limit.


Hi Daniil,

I have read your answer in the ticket. I would ask something else there.


Thanks fort he support.

Best, Matteo.

Like Daniil Penkin likes this

Hi @Daniil Penkin 

please could you help us running the GC again?


Thanks, Matteo.

Done, and replied in the support ticket.



Log in or Sign up to comment
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,176 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