git reports the wrong repo size

Issue #10996 resolved
Ramon Gonzales
created an issue

Hi, We have a repo, and pushed some huge files by mistake.

I used bfg repo cleaner to delete the huge files then did the standard 'git gc' commands to prune, and pushed the changes back to our remote git-repo (as outlined in the BFG instruction:

I did a fresh clone of the repo, and the size is so much smaller now (~385MB) - as expected. However, based on the reported size from the repo page on bitbucket, it is still showing as 1.9GB - with the warning that "the repository size is over 1GB".

As it is, I'm worried that any pushes we do could push it beyond the 2GB hard-limit. Is there a way to speed up the garbage-collection?

Comments (5)

  1. Log in to comment