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 ?
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
Hi @Theodora Boudale
Sure, Last two letters of my workspace is 'rg'
and last two letters of my repo is 'ck'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the update and you are very welcome.
Please feel free to reach out if ou ever need anything else!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.