Dear Bitbucket support team,
We used BFG to migrate our repository to LFS. After pushing the cleaned repo back per the BFG cleanup instructions, this actually increased the size of the repository by ~1GB. Locally, the repository is only 1.62 GB whereas the remote repo is 3.18 GB. Could you please run a git gc on our remote repository?
Thanks,
Tanner
Hi, Tanner! Welcome to the community!
I ran the GC against your repository and managed to reduce its size. Just to give you some context around the reason your repository increased its size, when you pushed the changes with BFG, the remote repository still had the old references as well. So the GC is required on the remote repository to clean up any old references you have removed.
I also would like to share with you that we 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
Hi Caroline, thank you for your assistance and for the fast turnaround time! We are glad this issue has been resolved and appreciate the tip on marking the repo for gc for future use.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Tanner!
I'm glad to help! Please feel free to create new questions in our community if needed.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.