Forums

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

Run garbage collection on my repos

RomainB60 March 31, 2025

Like lots of us right now, I'm cleaning my repos because of the future new repo size limit.

I ran some git filter-branch on them to remove big files and directories.

I'm on the free plan, could you please run a garbage collection for me please?

Thank you.

2 answers

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

Hi @RomainB60 

Welcome to the community!

I've checked your workspace and ran garbage collection on the repositories over 1 GB, and the repository size has reduced. Can you check the remote repository size and compare it to your local repository size? 

You can check the local size by running the following command on the local repository:

git count-objects -vH

The "size-pack" will show the local repository size.

Before proceeding with the next push to the remote repository, please ensure that you and all repository collaborators make a fresh clone of the remote repository to avoid reintroducing old/cleaned-up history and potentially inflating the repository size again.

- Phil

RomainB60 April 1, 2025

Hi @Phil C 

Thanks for your help.

The issue is resolved for one of the two repo.

But on the other one, there was still an unwanted branch. I removed it from the remote, made a new clone, used 

git count-objects -vH

And now it is ok. 

Could you please run another gc on this repo please? 

Sorry for this issue.

Thank you.

Romain 

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

Hi @RomainB60 ,

No problem! I've run GC on the repository that remained over 1 GB and it the size has reduced to 46.5 MB after you removed an unnecessary branch. 

- Phil

RomainB60 April 2, 2025

Thank you @Phil C ,

Everything seems ok now.

Romain

RomainB60 April 3, 2025

Hi removed huge files from another repo, which size is now over 500MB, could you please run GC on it please?

Thanks for your help.

Romain

Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 7, 2025

Hey @RomainB60 

This is done. I can see all the repo sizes have been reduced.

Regards,
Syahrul

RomainB60 April 8, 2025

Hi @Syahrul ,

Thank you.

I just removed a lot of banches on LiveboxRemote repo, could you please run GC on it one more time please?

Thanks a lot.

Romain

Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 9, 2025

Hey @RomainB60 

This is done.

Cheers,
Syahrul

RomainB60 April 9, 2025

Thank you @Syahrul !

Best,

Romain

0 votes
Mikael Sandberg
Community Champion
March 31, 2025

Hi @RomainB60,

Welcome to Atlassian Community!

I have notified the Atlassian Support team on here and they will reach out to you within 2 business days to get this resolved. 

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