Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Repo size under Repository Details does not match the size of the .git directory

alconesp September 20, 2025

Hi, I have a repo where I recently removed all the unnecessary files, cleaned the history and forced the push to have just one commit. After all this, the size of the repo, locally, is just 37MB, but it still marks 146MB on the repository details. Can you help resolve this? 

Thank you!

3 answers

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 22, 2025

Hi @alconesp 

After performing cleanup operations, it is expected that repository size will not reduce/may even increase. This is because a server-side garbage collection needs to be performed to clear out any dangling commits created by the cleanup operations. This happens automatically (once a certain garbage threshhold is met) or it can be performed manually upon request by an Atlassian support engineer to finalise the size reduction.

I've gone ahead and manually executed a garbage collection on the server-end, it has reduced the size from 146MB to 8.8MB :)

NOTE: I've redacted the repository URL's you've shared, as this is a public forum. For future reference - Atlassian support engineers regularly view our community forum and can see all of your account/workspace details already, so it's not necessary to share these details.

Cheers!

- Ben (Bitbucket Cloud Support)

 

0 votes
Martin Alter September 22, 2025
alconesp September 22, 2025

Hi @Martin Alter

No, it is not the same 'issue', I did the process to clear the repo in June.

0 votes
alconesp September 20, 2025

I forgot the name of the repo, sorry, [REDACTED]

Martin Alter September 22, 2025

Repo not found ;-)

alconesp September 22, 2025

Sorry, this is the repo [REDACTED]

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events