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

Next challenges

Recent achievements


  • Give kudos
  • My kudos


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Repository >2GB Not Letting Me Push

Hi. I am new to Bitbucket and for some reason I was unaware of the 2GB limit. My repository is currently over 6GB. I have followed the instructions on your website ( but every time I try to force push, i get the error message that it cannot write as I have exceeded the 2GB limit. Perhaps a GC needs to be run on the repository? The files I wanted removed from the original commit were removed from my local copy



1 answer

0 votes

Hi @Bruce Friedman ,

If you visit you will be able to review information about your account and resources used.

Regarding on the size of your repository, you should identify what make your repository exceed the 2Gb limit and reduce de size of your repository to be under 2Gb so you can run a push against your repository and continue on working.

In the documentation you have mentioned , please make sure of:

  • reducing the size of your repository
  • contact Support to run a Git GC in Bitbucket Cloud (please notice this support request must come from the repository owner)
  • only then attempt on push to your repository

Do you happen to know if artifacts are being store in your repository, if so, perhaps you should consider storing them somewhere else.

Kind regards,

Rafael thanks for responding.

I actually did not realize that there were size limitations so basically I threw all of my project related files up there (some were app, some were videos, etc..) I thought it be nice to get everything under one umbrella so my team did not have multiple places to go to get different information. Since this was my first commit on this repository, I basically removed everything last night (rolled everything back to my first commit - which was just the README file). I was able to do that on my local drive just fine, but when I went to push it (push --force) the change up, I got the response I was over-limit,

I contacted support last night to perform a GC  but have yet to hear from them



Suggest an answer

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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,892 views 0 7
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