I accidentally pushed commit that had a lot of image files.
After that i pushed some more commits, and the repository exceeded 2 GB size.
I tried to do
git reset --hard <commit-SHA>
to the last commit without images
and
git push --force origin master
but I still have an error
Now the output of command git count-objects -vH looks like following
count: 0
size: 0 bytes
in-pack: 49534
packs: 1
size-pack: 19.48 MiB
prune-packable: 0
garbage: 0
size-garbage: 0 bytes
Hi Olexandr, welcome to the Community!
I've checked your account and I couldn't find any repo exceeding the 2GB, are you still experiencing this issue? If so, please let us know the name of the affected repo so I can have a look.
Kind regards,
Ana
the repo can be found here
https://bitbucket.org/vitalik_kashuta/ecommerce/src
Sorry for the late answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Olexandr Zakordonets, I've run a git gc on that repo and the size went down to 2GB. We've manually checked the size of the remote and this is how it looks:
count: 0
size: 0 bytes
in-pack: 56862
packs: 1
size-pack: 2.01 GiB
prune-packable: 0
garbage: 0
size-garbage: 0 bytes
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.