emote: 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.
To https://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: 325
size: 436.91 MiB
in-pack: 134094
packs: 18
size-pack: 115.64 MiB
prune-packable: 0
garbage: 0
size-garbage: 0 bytes
```
```
$ du -h {folder}
...
...
671M {folder}
```
Welcome @Idris AIT MOULAY
I'm going to see if I can get the attention from someone at Atlassian.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
G'day @Idris AIT MOULAY !
I have just executed a gc against the affected repository, this has reduced the repo size from 4.0GB to 65.1MB.
We want to inform you that we do have a Feature request to provide the option to run the GC from the end-user GUI. This way you need not raise a support ticket and wait for the support person to run the GC on your behalf.
Our Dev team is currently working on implementing the feature request and we don't have any ETA for the fix. I would suggest you "Watch" this ticket for future updates from our Dev team:
https://jira.atlassian.com/browse/BCLOUD-11593
NOTE: You and your colleagues will need to perform a fresh clone of the repository, this is to prevent accidentally pushing back old refs which can inflate the repo size again.
Cheers!
- Ben (Bitbucket Cloud Support)
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.
Hello,
I have the same right know, would like please to fix it for me ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Idris,
I ran a git gc for your repo that had a size of 4GB. The repo's size has been reduced.
If you ever need a git gc again, I would suggest creating a new question in community instead of replying here. This way, your new question will be visible to the rest of my team.
Please feel free to let me know if you need anything further.
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.
Hi @Ben, @Theodora Boudale I'm having same issue:
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.
Can you help me resolve this please?
Kind regards,
Anthony
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anthony,
I will reply to the new question you created here: https://community.atlassian.com/t5/Bitbucket-questions/Rewind-history-to-undo-large-commits/qaq-p/2721208
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.