Our repository weighs 2.8 GB, we need to optimize the repository with the git gc command, but we can't find how to do it.
Hi, @chernandez_energy! Welcome to the community!
I ran the GC against your repository and managed to reduce its size.
To give you some context around the git GC process, Bitbucket triggers a garbage collection on the repository after each push, however aggressive GC is triggered by GIT once the unreachable/dangling objects become older than 30 days.
For this reason, there is no need for us to trigger a manual GC for your repository. However, we are happy to run it for you if you feel there is a need.
We already have a feature request to allow users to mark repositories for git GC, as you can check here:
Please consider adding yourself as a watcher to receive the updates as we make progress with this. If you are not familiar with our Feature Request Policy, you can read more about it here.
Feel free to share any additional questions or concerns regarding this case.
Kind regards,
Caroline
Great !!
Understood, I'll keep that in mind.
Thank you so much!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're welcome, @chernandez_energy! Feel free to reach out if you ever need anything else.
Kind regards,
Caroline
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.