Hello. Like others, we received the 1GB email. We've cleaned things up and removed branches, but the repository size has rather increased. Please run trash collection. Thanks!
Hi Koman,
I see that one of the workspaces you have access to is over the 1 GB limit we are going to enforce. I ran a git gc on the largest repository on this workspace, but its size hasn't been reduced by a lot.
Could you please let me know the following:
1. Did you rewrite history to clean up the repo?
2. Please take a mirror clone of the repo with the command
git clone --mirror <repo_url>
Then, navigate to the directory of the mirror clone and run the command
git count-objects -Hv
What output do you get from this last command?
I am asking this to understand if the repo size on Bitbucket is because of the objects on the core Git repo or because of something else, like PR refs.
Kind regards,
Theodora
Thanks for following up!
I have run the command you provided, here's the output.
```
count: 0
size: 0 bytes
in-pack: 11490
packs: 1
size-pack: 345.47 MiB
prune-packable: 0
garbage: 0
size-garbage: 0 bytes
```
I am not sure if it's caused by PR refs, if anything related to PR, could you please help / provide a way to delete them? (Now it can only be declined.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Koman,
Thank you for your reply.
Since the size of the mirror clone is much smaller than what Bitbucket reports, the most likely reason is that the files you cleaned are still referenced by PRs.
I created a support ticket on your behalf so that a colleague of mine provides you with a list of PRs that have large files and asks for your permission to delete them. You should have received an email with a link to the ticket, and you can also find the ticket here:
One of my colleagues will reach out via the support ticket.
Please feel free to let me know if you have any questions.
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.
Hi @Koman Chik ,
Welcome to the Community! I'm requesting some assistance from the Atlassian Support Team.
I assume that you've seen other related posts like:
https://community.atlassian.com/forums/Bitbucket-questions/Request-for-git-gc/qaq-p/2996567
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Carlos Garcia Navarro
Thanks for the arrangement!
I have read them and make sure that all PRs are declined, I didn't find a way to delete them, all I can do is to decline.
If it's required to ask for permission to delete all declined PRs, feel free to delete it.
Will wait for the support team to see if anything I can solve the problem.
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.