Cannot push cleaned history, Read-only mode


I'm attempting to use the BFG utility to clean all the big files out of my history.

I followed the process to the letter (that is, run the utility on a cloned mirror), but when I go to push, I find that the repo is in read-only mode.  This error is preventing me from fixing the issue that caused the error.

remote: repository is in read only mode (over 2 GB size limit).
remote: Learn how to reduce your repository size:
 ! [remote rejected] master -> master (pre-receive hook declined)



1 answer

0 votes

Hello James,

Please, raise a support request so we can review the status of your repository and do the cleaning on the server side for you.

Kind regards,
Rafael P. Sperafico

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

652 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot