Can you please help me with that:
remote: Repository is in read only mode (over 3.7 GB size limit). Learn how to reduce your repository size: https://confluence.atlassian.com/x/xgMvEw.
fatal: unable to access 'https://alberti3@bitbucket.org/alberti3/workspace_aa.git/': The requested URL returned error: 403
By mistake I added a very large file. Then I removed it and changed the .gitignore, but at that point I was not able to push the new commit.
Hi Andrea,
What's the current size of your repo? Please use the following command and let us know the output:
git count-objects -Hv
If it's over 2GB, then you're exceeding the limit and will need to follow the steps in the article that was mentioned to you, Reduce repository size.
Let us know how it goes!
Ana
Hi @alberti3 , I've run a git gc to your remote repository but the size hasn't changed/ Can you confirm your local repo is now under 2GB? You can check that using the following command in the terminal:
git count-objects -Hv
If it's over 2GB, you need to reduce the size first, to do so you'll need to follow the steps in the article Reduce repository size.
Let us know how it goes!
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI! I followed the steps in the reference article and used BFG to get my local repo down under the file size limit, but the remote is still locked, in read-only mode. What do I do next to push up my new, trimmer local repo?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ana Retamal Hey, can I get you to do the remote garbage collection on our repo as well? We've already trimmed down the repo and running git count-objects -Hv returns only ~700 MB – as opposed to the 2.1GB size of the remote repo. Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.