Forums

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

Need to trigger a gc (--aggressive) on remote repository

Sandu Cristian Bodnariuc
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!
March 28, 2025

I just removed a big folder (whole history) from a repository which took 1.2GB of disk space.

 

A fresh clone is 120MB, but the size on Bitbucket cloud is still 1.2GB.

I was wondering in someone can trigger the git gc --aggressive and git prune.

Thanks a lot,

Cristi

1 answer

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 30, 2025

Hi @Sandu Cristian Bodnariuc

Welcome to the community.

I went ahead and run Git GC against the repository.

Could you check your repository size now?

Regards,
Mark C

Sandu Cristian Bodnariuc
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!
March 31, 2025

Hi @Mark C , the repository has the expected size.

Thank you very much,

Best regards,

Cristi

Like Mark C likes this

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