Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Not able to clean up the repository due to repository size increased more then 2 GB

By mistake our developer pushed changes which were not required and size increased more then 2 GB. 

We are doing the cleanup and removing those changes from Git history but we are not able to push as size is already more then 2 GB. Please look into this. It is urgent

2 answers

Hi Ana,


Can you do this for us? One of our repository has crossed 2 GB limit. This time we didn't push anything still size got increased suddenly @Ana Retamal can you please do this on priority?

Ana Retamal Atlassian Team Dec 29, 2020

Hi @Bhaskar Dabhi,

I've checked your Bitbucket Cloud account again but I haven't been able to find any repo exceeding the 2 GB. Could you let us know the name of the repo and username of the owner, so I can have a look?



0 votes
Ana Retamal Atlassian Team Oct 16, 2020

Hi @Bhaskar Dabhi, welcome to the Community! 

I've checked your Bitbucket Cloud account and I haven't found any repository exceeding the 2GB.

Keep in mind that to continue using the repository you’ll need to undo the last commit that brought the repository over limit; we won't be able to do anything on our end if the size of the repository is bigger than 2 GB. Undoing the last commit will bring the size below the 2 GB limit and remove the push restriction, allowing you to perform maintenance on the repository. If after you follow this step the remote is still showing 2 GB then we'll be able to run a manual garbage collection to make the size of the remote matches the size of your local. The instructions can be found at Reduce repository size

If you have already followed these instructions, or if you're having any difficulties, please let us know so we can continue helping you. Remember to tell us also the name of the repo so we can find it.

Best regards,


Suggest an answer

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

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,850 views 10 16
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