Hi Bitbucket Community,
I’m facing an issue where my Bitbucket workspace has been locked in read-only mode because it exceeded the 1 GB limit.
To resolve this, I cleanup the repository using BFG to strip large files, ran aggressive GC, and reduced my local repository size significantly.
However, when I try to push the cleanup changes back to Bitbucket repository, I still get this error:
Thank you in advance!
Hi @Samuel Mateo_ Jr_ and welcome to the community!
I ran a garbage collection on your repository and its size is just below the 1 GB limit now, 999.4 MB.
You should be able to push your changes now. Please keep in mind that after you push the history rewrite, the repo size will most probably go up again. The remote repo will need another git gc for the old, dangling commits to get removed and for the change in size to be reflected.
Please feel free to leave a comment here after you push, and I can run another git gc for your repo.
Kind regards,
Theodora
Thanks Theodora!
I just pushed the changes. Please run another git gc.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are very welcome!
I ran another git gc, the repo size has been reduced further. You can see the new size from the repositories list of your workspace, or from Repository settings > Repository details > look for the field Size.
Does it look ok now on your end?
Kind regards,
Theodora
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.