Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Request for run the Garbage Collection

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 Sep 07, 2022

Hi, @Николай Коломийцев, 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

Atlassian Community Events