Forums

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

Request for run the Garbage Collection

KOLYAS
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, @KOLYAS, 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,
Caroline

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events