Repository is over the size limit (4 GB) and will not accept further additions

Idris AIT MOULAY May 22, 2024

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

1 answer

1 accepted

1 vote
Answer accepted
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 22, 2024

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)

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events