Forums

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

Repository size increased after force push, guess I need to run git gc on Bitbucket

kumade April 14, 2025

I'm cleaning my repo to try to fit into new size limits. So I used BFG cleaner to strip some large files from history and then did push --force.

Before that I checked the repo size in Bitbucket console - it was 2.2 Gb. Now it's 3.5 Gb.

Similar posts say that git gc needs to be launched on Bitbucket so could anyone please do this for me? Or is there any way for me to launch\trigger it myself without asking for support everytime cause I have 5-6 more repos to clean up :)

The repo name is CatPow. Thank you in advance.

2 answers

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

Hi @kumade

Welcome to the community.

I went ahead and run GC against your remote repository.

Could you check the size now?

Regards,
Mark C

kumade April 16, 2025

Hi Mark!

Thank you for doing the GC run but could you please do it again. I removed even more files so now locally my repo is just around 130mb, while I see around 2GB on bitbucket console

Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 17, 2025

Hi @kumade

No worries. I've done the GC process, could you check the size now?

Regards,
Mark C

kumade April 17, 2025

Yes it's the same tiny size on bitbucket now, thank you Mark.


I have few more repos to clean so do I need to create a new question for each or I could ask right here by replying to your message?

Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 21, 2025

Hi @kumade

You could provide those repo sizes here, and I'll run Git GC against them.

Regards,
Mark C

0 votes
Tansu Akdeniz
Community Champion
April 15, 2025

Hi @kumade 

Welcome to the community!

The Atlassian support team has been notified and they will reach out to you.

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