I have locally reduced the size of my repository to less than 500MB. However, the size shown in Bitbucket is still 2.2G. Could you please run gc to bring it down?
Best regards,
Hi gkamendje,
I have executed a gc which has reduced the size down from 2.2GB to 1.1GB.
To reduce the size further - I would suggest making use of the BFG tool to delete any large binary files present in your repository (or convert them to GIT LFS storage) - here's a command you can use to list these 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
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.