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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Repo sizve morethan 2GB and not able to push

Hello Team,

I ran the command "git count-objects -Hv" and noticed the size is 2.13 GB. Now i am following the link  to reduce the size of my repository.

Meanwhile I have a few questions:

1. Can I increase the size of the Repository with the cost?

2. How can you help me to reduce the size of the repository?

I am looking forward for your reply.




1 answer

1 accepted

0 votes
Answer accepted
Ana Retamal Atlassian Team Nov 13, 2019

Hi @Rajasekhar , thanks for reaching out!

The size of the repository can't be increased. The maximum size is 2GB per repository regardless of the type of account you have (Free, Standard, or Premium) However, if you need to have big files in your repository you could consider converting your repos to LFS (Large File Storage). With Git LFS you can purchase additional storage, you can read more about it at Git Large File Storage in Bitbucket and Use Git LFS with Bitbucket.

Regarding your second question, what would you need help with? The reduction of the size of the repository needs to be done on your side, so unfortunately that's not something we could do for you. Once the size is under 2GB, you can force push it to the remote. After a while (if not immediately) this will take effect on the remote and you'll be able to work normally with your repo again. If after a few hours the new size is not showing on the remote, please let us know so we can have a look. 

Hope that helps :) 


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,787 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you