Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Request for run the Garbage Collection

Mykola Kolomiitsev
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!
September 7, 2022

Hello, I need to run GC because my repository get 3.4 GB

I run this command before:

java -jar bfg.jar --strip-blobs-bigger-than 50M some-big-repo.git
cd repo
git reflog expire --expire=now --all && git gc --prune=now --aggressive
git push

1 answer

0 votes
Caroline R
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 7, 2022

Hi, @Mykola Kolomiitsev, thank you for reaching out to Atlassian Community.

I ran the GC against your repository and managed to reduce its size. 

I also would like to share with you that we have a feature request to allow users to mark repositories for git GC, as you can check here:

Please consider adding yourself as a watcher to receive the updates as we make progress with this. If you are not familiar with our Feature Request Policy, you can read more about it here.

Feel free to share any additional questions or concerns regarding this case.

Kind regards,

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events