Forums

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

Please run a garbage collection on my repo I force-pushed history and the repo size didn't shrink

kttann
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 20, 2025

Hello Bitbucket Support Team,

I need assistance with triggering a server-side garbage collection on one of my repositories. The repository currently shows a size of around 880 MB, but I have already fully rewritten the history, cleaned large directories, and force-pushed the new, minimal history more than two days ago.

To verify the cleanup, I pushed the rewritten repository to another empty workspace, where it correctly displays a size of about 14 MB. This confirms that the local repository is already fully compacted, and the remaining size issue exists only on the original workspace.

Could you please help run a server-side git gc / pruning process on the repository so that the displayed size can be updated accordingly?

Thank you very much for your assistance.

2 answers

1 accepted

0 votes
Answer accepted
Akhand Pratap Singh
Community Champion
November 20, 2025

Hi @kttann ,

Good day, Welcome to Atlassian Community!!

I have request Atlassian Support team for assistance, they will manually initiate garbage collection (GC), they will reach out to you on this same thread within 2 business days.

Best Regards,
Akhand

kttann
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 28, 2025

Hi @Syahrul and @Akhand Pratap Singh ,

 

Thank you both for your prompt assistance.


I can confirm that the repository size has been successfully reduced to 14MB after the manual GC.

 

I appreciate your help and quick support—this fully resolved the issue.

Regards,
KT

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 26, 2025

Hey @kttann 

Welcome to the community!

I have triggered GC on the affected repository and the size is now at 14MB

I hope this helps.

Regards,
Syahrul

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events