Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Repository size exceeds limit

This repository is over the 2.0 GB limit and your contributors are not able to push new commits. To resolve this, reduce the repository size.Cant commit further. Can any please let me know How Can I reduce repository size ?? or any alternatives to reduce the size 

1 answer

0 votes

Hi @Wael Hanfi,

I checked in our system the workspaces that your Bitbucket Cloud account has access to, and the repos owned by these workspaces. I saw one repo over the 4 GB limit and I ran a git gc on it. Its size is 101.6 MB now.

Does this agree with the size of your local repo, if you run git count-objects -Hv?

The remote repo most likely had dangling commits (it could be from deleted branches or from rewriting history) and needed a git gc in order for its size to get reduced.

Users cannot trigger git gc on their remote repos at the moment, but we have a feature request about this in our issue tracker:

You can add your vote in that feature request by selecting the Vote for this issue link, and you can select the Start watching this issue link in the feature request if you'd like to get notified via email on updates.

Since the repo is owned by a workspace on a paid billing plan, if you ever come across this issue again, I would suggest creating a ticket with Bitbucket Cloud support team to ensure a faster response.

You can create a ticket via, in "What can we help you with" select "Technical issues and bugs" and then Bitbucket Cloud as product. In "What is the impact to your business?" please make sure to select Level 1 if the repo is over the limit and you are blocked from working.

If you have any questions, please feel free to let me know.

Kind regards,

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events