My repository is locked after accidentally committing some files which pushed it up to 2.5GB. I've undone several commits which most likely caused this but my repository size instead increased to 4.5GB.
Because its locked, I'm unable to push fixes from tools such as BFG repo-cleaner.
Can you run a "git gc" on the server to see if this fixes the issue?
Hi @Ryan,
I think I identified the repository you described and triggered garbage collection. Repo size reduced significantly.
If you face similar issue in the future, feel free to open a support case here. It'd be easier for us to identify the right repo and also very likely quicker to resolve.
Cheers,
Daniil
Will do, thanks for the help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We face a Similar Problem on our on premise Data Center.
Can you tell what You actually did to trigger a garbage collection on?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Rump_ Matthias,
This question is about Bitbucket Cloud and is not applicable to Bitbucket Server. According to the relevant documentation for Bitbucket Server, it is advised to never run garbage collection manually because of the way repository forking is implemented there.
Hope this helps.
Cheers,
Daniil
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.