It says it has 1.13 GiB, but then it says repository is over the size limit (2 GB) and will not accept further additions:
Enumerating objects: 25046, done.
Counting objects: 100% (25046/25046), done.
Delta compression using up to 4 threads
Compressing objects: 100% (17794/17794), done.
Writing objects: 100% (25046/25046), 1.13 GiB | 8.51 MiB/s, done.
Total 25046 (delta 7237), reused 24962 (delta 7170)
remote: Resolving deltas: 100% (7237/7237), done.
remote: Checking connectivity: 43, done.
remote: Repository is over the size limit (2 GB) and will not accept further additions.
remote:
remote: Learn how to reduce your repository size: https://confluence.atlassian.com/x/xgMvEw.
To bitbucket.org:geopost/<repo>.git
! [remote rejected] master-live -> master-live (pre-receive hook declined)
error: failed to push some refs to 'git@bitbucket.org:geopost/<repo>.git'
I've also tried to find the site of the repo with:
git gc
git count-objects -vH
And it also says:
size-pack: 1.13 GiB
On the other hand, as an example, we have another repo that is 2.21GB and commits still work fine there.
EDIT: I tried creating and deleting a branch, as it was suggested online and commits work now. It says Repository details: Size1.9 GB on Bitbucket.
Any idea how can I get it down to 1.13 GB, as git tells me this is the actual size of the repo?