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

Repository size exceeds limit error persists after cleaning repo

I've accidentally committed several large files to my repo and now it is not allowing to push the changes because the size exceeds 4GB.


I followed the instructions in Reduce repository size | Bitbucket Cloud | Atlassian Support and reverted my repo to the commit before I uploaded all the files.


I removed every branch of my repo except the master and all commits that happened after I uploaded all the files.

 I enabled the Delete dangling commits when over size limit  option in Labs.


After this, I noticed that the .git folder still was 7GB most of them being the objects folder. So I ran the Garbage Collection steps in Maintain a Git repository | Bitbucket Cloud | Atlassian Support and now the whole repo is 600MB.

I still can't push changes to the internet and if check online it still says that Repository size exceeds limit.

Did I do something wrong?


Let me know if I can give you more info. Cheers!

1 answer

0 votes
Caroline R Atlassian Team Aug 11, 2021

Hi, @jasmc, welcome to the community! 

I saw that you created a ticket with our support related to the same question, so to avoid any possible misunderstandings or miscommunication that may arise from discussing the same matter on two different platforms, let’s focus on the ticket instead.

Once the ticket is resolved, feel free to share the resolution here to help other community members that may have the same issue. 

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,222 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