Forums

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

Request to run "git gc"

GrendelErwin
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!
April 23, 2025

We recently removed some large files from the history of one of our repositories (`lea*******-dashboard`). However, the repository details still show 1.6GB, while my local repo indicates ~650MB (with `git count-objects`).

We'll move the remaining large files to artifact hosting later. But for now it would be nice to make sure that we stay under the 1GB limit. Would it be possible to run `git gc` on this repository? Thanks!

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 23, 2025

Hi Erwin and welcome to the community!

I ran a git gc for your repo and its size has been reduced to 646.9 MB.

Does it look ok now on your end?

Kind regards,
Theodora

GrendelErwin
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!
April 23, 2025

Thanks Theodora. It all looks in order now, and brings us within the usage limits.

Cheers, Erwin

Like Theodora Boudale likes this
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 25, 2025

That's good to hear Erwin and you are very welcome. Please feel free to reach out if you ever need anything else!

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events