Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Idris AIT MOULAY February 4, 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.

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: 0
size: 0 bytes
in-pack: 173220
packs: 1
size-pack: 95.57 MiB
prune-packable: 0
garbage: 0
size-garbage: 0 bytes


There no way to run git gc into my remote repository ?

1 answer

1 accepted

1 vote
Answer accepted
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 4, 2024

G'day @Idris AIT MOULAY 

I have triggered Git GC on the affected repository, and the size has been reduced to 130 MB after it is complete.

Hope this helps.

Regards,
Syahrul

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events