Hi, can anyone from the Atlassian team help us get our repo size to below 4GB? It is currently at 4.05GB and we can't seem to prune it as it is disallowing any git push, git gc, etc
any chance we/someone can do a git gc on the server side?
I am not with the Atlassian team, but I wanted to suggest this article to give you some ideas/steps to try:
https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bill, we'd followed that exact link before as per Atlassian's pointers and tried to remove large files. We couldn't try undoing the last push because the large commits were made earlier. We have been unable to get ahead yet. That's why I was hoping the Atlassian team could do a `gc` from the server.
Thanks for trying to help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is where we are stuck. After following all the steps mentioned in the Atlassian doc, we can't get ahead. Same error with a force push too.
$git push
Enumerating objects: 21, done.
Counting objects: 100% (21/21), done.
Delta compression using up to 8 threads
Compressing objects: 100% (9/9), done.
Writing objects: 100% (13/13), 1.23 KiB | 1.23 MiB/s, done.
Total 13 (delta 8), reused 7 (delta 2), pack-reused 0
remote: Repository is over the size limit (4 GB) and will not accept further additions.
remote:
remote: Learn how to reduce your repository size: https://confluence.atlassian.com/x/xgMvEw.
To https://bitbucket.org/<REPO>
! [remote rejected] <BRANCH> -> <BRANCH> (pre-receive hook declined)
error: failed to push some refs to 'https://bitbucket.org/<REPO>'
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.