The issue we are facing is that the repository size shown on Bitbucket doesn't reflect the actual size. A few weeks ago, we removed a significant amount of data from several repositories, some of which were over 200MB. Now, the actual size of those repositories is under 30MB.
However, Bitbucket still shows the old size (200–300MB). For example, when I download the repository, the size is around 20MB, not 200MB.
Could you clarify why the displayed size hasn't updated and whether there's a way to trigger a recalculation?
Thanks,
G'day, @Esteve Dalmau
Welcome to the community!
When changes occur, such as file removal, we need to manually initiate garbage collection (GC) on the repository from our side. I have already done this, and the repository size in your workspace has now decreased. However, it remains quite large in some instances, which may require you to delete and rewrite your repository history. The best course of action is to refer to our documentation below on how to maintain a Git repository.
Regards,
Syahrul
Thanks! We have already removed some repositories and upload it again to fix space problem. I will take a look at the documentation also.
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.