Forums

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

git gc on bitbucket

Fernando M.
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!
July 24, 2025

Hi, Atlassian team.

I have cleaned my repo by running BFG Repo-Cleaner into a mirror clone and pushed back to remote. In my machine the repo had reduced the size as expected, but in bitbucket it had increased. 

I think I need someone to run git gc in my repo, so the old history will be deleted. 

I don't want to publish the repo name here because privacy issues. But it's the only one big in the workspace cdavis..., with more than 900mb. 

Thank you,

Nando

1 answer

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

Hey @Fernando M. 

Welcome to the community!

I have triggered a GC on the affected repository, and its size has been reduced to 679 MB after completion. Could you confirm if this is the expected size you're aiming for?

Regards,
Syahrul

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