Hi Atlassian team, I wanted to push some changes to my project. Turns out i've been uploading duplicate file and i already fixed it, and then i need to push, but when i push i got an error to it,
> git push bitbucket master:master
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://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/#Rewind-history-to-undo-large-commits.
To https://bitbucket.org/workspace-id/repo.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://bitbucket.org/workspace-id/repo.git'
How do i fix it?
Hi Daniel and welcome to the community!
I ran a garbage collection on your repository and its size has been reduced to 583.8 MB, so you should be able to push. Please feel free to let me know if it's ok on your end now.
Since your workspace is on a paid billing plan, you can also create a ticket with the support team in the future if you ever need help again to ensure a faster response. You can create a ticket via https://support.atlassian.com/contact/#/; in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as a product. When you are asked to provide the workspace URL, please make sure you enter the URL of the workspace that is on a paid billing plan to proceed with ticket creation.
Just a heads up, I removed the repo details from the URL to protect your privacy.
Kind regards,
Theodora
Welcome to the community @Daniel Salim
Let me see if someone from Atlassian can answer this question. Usually Theodora does it, but maybe she is busy. I will tag atlassian on this question.
Reference: https://community.atlassian.com/t5/Bitbucket-questions/Repository-size-not-decreasing/qaq-p/2528331
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you so much Perisic.
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.