remote: Repository is over the size limit (4 GB) and will not accept further additions.
remote:
remote: Learn how to reduce your repository size: https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/#Rewind-history-to-undo-large-commits.
Tohttps://bitbucket.org/*/*.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://*@bitbucket.org/*/*.git'
I can not push due to reaching the sit limit of the repo.
there same info about repository from my machine.
$ git count-objects -vH
count: 1785
size: 3.41 GiB
in-pack: 173220
packs: 1
size-pack: 95.57 MiB
prune-packable: 0
garbage: 0
size-garbage: 0 bytes
I already made GC localy, there is any way to do it remotly ?
thanks
Hi Idris,
Once a gc has been performed locally - it must also be performed on the server-end to finalise the changes.
I've just executed a gc and the size of that repository has reduced from 3.4GB > 150MB.
Please ask all users of the repository to remove their local copy and perform a fresh clone to avoid pushing back old refs.
Cheers!
- Ben (Bitbucket Cloud Support)
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.