When running `git count-objects -vH`, my repo is 40MB in size.
size-pack: 40.47 MiB
But shows up as **921.88 MB** in bitbucket.
Hi Agent009,
I've just conducted a gc against that repository which has brought the size down from 921.9MB to 658.1MB.
Your workspace total size is now within the limit of 1GB (which will be enforced April 28th) at 891MB.
If you'd like to reduce the size further - I'd suggest taking a look at any large files in your repositories and performing cleanup operations on these.
Command to find large files:
git rev-list --objects --all \
| git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' \
| awk '/^blob/ {print substr($0,6)}' \
| sort -r --numeric-sort --key=2 \
| numfmt --field=2 --to=iec-i --suffix=B --padding=7 --round=nearest
Repo cleanup documentation:
Note that after cleanup operations your repository is likely to increase in size due to accumulated garbage. We will need to perform a subsequent garbage collection on the server-side to remove that garbage and reduce the size further.
Cheers!
- Ben (Bitbucket Cloud Support)
898.4 MB active FS consumed
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.