I am having a problem with the size of my repo. I have upload a large file but now i cannot delete it.. when i delete from my computer and push i have same error
I have tried all i have found in this community, but still not working
When a repo goes over 2 GB, you can follow the steps in the doc that Hana linked, specifically the "Undoing the last push" section, to remove the read-only limitation from the repo.
I went ahead and ran a git gc on this repo and its size went down to 1.5 GB, so you and your team should be able to push now. However, its size is still quite large and it would be a good idea to reduce it further, if possible.
If the increase in size was due to this last commit only with the large file, you can still follow the same steps and reset to the commit before the bad one. Another git gc will be needed after you push that, you can either post here and I can run it, or you can open a support ticket via https://support.atlassian.com/contact/#/ with priority "Level 1" to get a faster response, if your repo goes again over 2 GB and you are blocked from working.
If you have more large files in the repo that do not need to be versioned, you may want to consider removing them from Git history:
In case you need to version any large files, another option would be to move them to Git LFS:
If you face any issues or have any questions, please feel free to let us know.
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 ...
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