Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot slim down repository due to being read only

Tim
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 7, 2025

I have a repository over 1GB in size, and want to slim down the commit history. But it is on read-only till i slim it down. How can i manage to do this?

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 8, 2025

Hi @Tim and welcome to the community!

The Bitbucket account with the same email address as your community account has access to just one repo that is well below the 1 GB limit and hasn't been updated in a while. Does this issue concern a repo that you access with a different account? If so, could you please log in to https://community.atlassian.com/ with the email address of the account that has access to the affected repo and leave a reply below my answer?

If you leave a reply from that account, I'll be able to see its email address and find the repo. I could then trigger a garbage collection on the repo, this may help bring its size down so you can push a slimmed-down version of it.

The other option (if the garbage collection doesn't reduce the size enough), if the repo is below 4 GB and belongs to a Free workspace, is to temporarily upgrade the billing plan of the workspace to a paid one. We provide a 30-day evaluation for the Standard and Premium plan and we only charge at the end of this period. If you downgrade to the Free plan before the 30-day evaluation period is over, we won't charge you. You need to be a workspace admin in order to change the workspace's billing plan.

Please feel free to let me know if you have any questions.

Kind regards,
Theodora

Timberman July 8, 2025

Hi! My Apologies!

it is this account that is relevant to the question. Not sure why I wasnt logged in on the correct mail adress :)

@Theodora Boudale 

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 8, 2025

Thank you, Tim!

I ran a git gc on the large repo, but I'm afraid that its size remained unchanged. I ran a git gc on a few other repos of that workspace (the ones with larger sizes); that helped bring down the total workspace storage to 1.8 GB, however, it's still over the 1 GB limit.

The option left now is upgrading the workspace to a paid billing plan and using the 30-day evaluation period to reduce the size of the largest repos and pushing them to Bitbucket. As I said, we won't charge you if you downgrade back to the Free plan within 30 days from the moment of upgrade. The remote repos will need another git gc if you push a history rewrite; you can leave a reply here and I can run it again.

Kind regards,
Theodora

Timberman July 8, 2025

Hi @Theodora Boudale

Thanks for the response. 

I have had a paid account before with you guys, so unfortunately that is not an option for me right now. Is there no way for me to delete old commits to slim down the workspace while being on the free tier?

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 9, 2025

Hi Tim,

I have created a support ticket on your behalf to see if there is anything more we can do. I created the ticket using the email address of this community account, @Timberman, that has access to the repo. You should have received an email with a link to the support ticket. You can also see the ticket here https://support.atlassian.com/requests/ after you log in with the email address of the community account I mentioned. One of my colleagues will reach out in the support ticket.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events