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

git gc on remote

Once
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!
July 12, 2022

Hello,

I have recently cleaned up a repository which had several large binary files in its history. I have rewritten the repo's history with BFG: the size of a fresh clone is now 146 Mb, but still 770 Mb on the server.

My understanding is that someone from Atlassian should run the git garbage collection command. Is there a way to request this from the dashboard ? It seems to be an open issue (BCLOUD-11593) since 2015.

Repo name: s****v****r

Thanks in advance !

 

1 answer

1 accepted

0 votes
Answer accepted
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 12, 2022

Hi @Once,

Welcome to the community.

Unfortunately, it is not possible for you to run Git GC (Garbage Collection) against your remote repository at the moment.
For that, I went ahead and ran Git GC against your remote repository.

From 770 MB, your repository size is now 145 MB.

Hope it helps and do let me know if you have further questions.

Regards,
Mark C

Once
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!
July 13, 2022

Hi Mark, the repository size is now matching my expectations.

 

Thanks a lot for the quick reply !

Like Mark C likes this
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 13, 2022

Great! Glad to know it helps.

Regards,
Mark C

Suggest an answer

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

Atlassian Community Events