Hi
With my last commit, I accidentally exceeded the 2GB limit
after which I did the following:
On this stage size of local repo +- 200MB, but "git push --all --force" not works
fatal: TaskCanceledException encountered.
A task was canceled.
Password for '...':
Enumerating objects: 9, done.
Counting objects: 100% (9/9), done.
Delta compression using up to 16 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 444 bytes | 222.00 KiB/s, done.
Total 5 (delta 4), reused 0 (delta 0)
remote: Repository is over the size limit (2 GB) and will not accept further additions.
remote:
remote: Learn how to reduce your repository size: https://confluence.atlassian.com/x/xgMvEw.
To <repo link>
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '<repo link>'
Just in case: I'm not the admin of repo
Sorry if this problem already was, but I can't search it
Thank you in advance!
Hello @Greysnek,
Welcome to the Community.
You did it right, here's the guide on how to reduce repository size. The repository size in Bitbucket doesn't necessarily reflect such cleanups immediately because garbage collection isn't triggered on every update being quite an expensive operation.
I kicked off GC for your repository, its size reduced to around 300Mb.
Let me know if you have any questions.
Cheers,
Daniil
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.