Forums

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

is there a way to trigger gc on my repo

user
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 1, 2025

hi team

a question billion times asked but still ...

could you trigger gc for my repo as there is a clear mismatch between what i have

~/IdeaProjects/111$ du -h .
4,0K ./wordcards2.git/branches
176M ./wordcards2.git/objects/pack
4,0K ./wordcards2.git/objects/info
176M ./wordcards2.git/objects
4,0K ./wordcards2.git/refs/tags
4,0K ./wordcards2.git/refs/heads
12K ./wordcards2.git/refs
168K ./wordcards2.git/hooks
16K ./wordcards2.git/info
177M ./wordcards2.git

and what bitbucket ui shows:

wordcards2 -> 488.5 MB

so difference is around 300MB

the same issue is for studyanddev, here the difference is around 80MB

I also have a feeling that some of the repositories I deleted were not actually removed and are still taking up disk space.

thanks in advance

2 answers

1 vote
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 2, 2025

Hi @user

Welcome to the community.

I went ahead and run Git GC against the remote repository.

From 488.5 MB, it is now down to 176.7 MB.

For the deleted repos, their sizes should automatically reduce your overall workspace size upon deletion.

Hope it helps. Let me know how it goes.

Regards,
Mark C

0 votes
Rilwan Ahmed
Community Champion
November 2, 2025

Hi @user ,

Welcome to the community !!

I have requested help from Atlassian Support. An Atlassian Support Engineer will review the post and respond on this thread within 2 business days.

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