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 vote

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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
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...

2,040 views 1 5
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