You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello,
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
My repo is https://bitbucket.org/k20one/quotes-android/src/master/
Thanks,
Hi Gerard,
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.
Kind regards,
Theodora
Hi @Gerard Cadenas Montserrat ,
please, see this article how to get rid of the commit with the large file. Basically you need to get the remote repository to the state, in which it was before the large commit file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.