Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Attempted to follow instructions to reduce a repo that exceeded 2GB, but can't push changes

jamidon
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 17, 2018

The instructions basically tell you how to back out some commits and push the changes. The problem is, my repo is still read-only so pushing won't work:

foo@nmachine:~/maps$ git push --force 
remote: Repository is in read only mode (over 2 GB size limit). Learn how to reduce your repository size: https://confluence.atlassian.com/x/xgMvEw.
fatal: unable to access 'https://foo@bitbucket.org/maps.git/': The requested URL returned error: 403
foo@machine:~//maps$

Should I drop the repo and start over?

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 26, 2018

Hi John!

If your local repo is already under 2 GB, it should let you force push it. I've ran a garbage collection on your remote in hopes that it would decrease the size, but it didn't. If it still doesn't let you push the repo, my advice would be to clone it and push it as a new repository. 

Let us know if you need any further assistance!

Best regards,

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events