Forums

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

Automatic Garbage collection

Deleted user November 8, 2024

 

I have a repository which size is 2.3 GB due to some large files got pushed. I reset the pushed files but the size size of the repo is still not reduced.

Is the automatic garbage collection for bitbucket runs on a schedule automatically, or how do I run `git gc` on remote ?

1 answer

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

Hi @[deleted] and welcome to the community!

A git gc runs on every push, but with different parameters every time depending on several different conditions.

Since the repo's size is not reduced, I can run it manually for your repo. I see that you have access to several workspaces and repos. Could you please let me know the last two letters of the workspace ID and last two letters of the repo name?

Kind regards,
Theodora

Deleted user November 11, 2024

Hi @Theodora Boudale

Sure, Last two letters of my workspace is 'rg'

and last two letters of my repo is 'ck'

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 11, 2024

Hi @[deleted],

Thank you for the details.

I ran a git gc on the repo and its size has been reduced to 761.2 MB.

Does it look ok now on your end?

Kind regards,
Theodora

Deleted user November 11, 2024

Hi @Theodora Boudale 

Yes it looks good.

Thanks for your help.

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 11, 2024

Thank you for the update and you are very welcome.

Please feel free to reach out if ou ever need anything else!

Suggest an answer

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

Atlassian Community Events