Forums

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

Running git gc on remote

lunoland
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!
August 7, 2025

The largest repo in my workspace was recently cleaned up to avoid the repo size limit but it seems like there's no way to trigger a gc on the remote?

When I check a freshly cloned mirror of the repo it's a third of the size of the remote. Will the gc just run automatically at some point? Obviously I'd really like to avoid hitting the max allowed size.

1 answer

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

Hi @lunoland and welcome to the community!

A git gc runs automatically on every push, but with different parameters depending on many different conditions.

I ran one manually for your workspace's largest repo, and its size has been reduced. Can you see the updated size on your end?

Kind regards,
Theodora

Suggest an answer

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

Atlassian Community Events