Create
cancel
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 , local side having problem pushing to server side

Hi , I'm having problem with pushing my commits to server

 

here's the message

 

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin DevelopmentBranch:DevelopmentBranch
POST git-receive-pack (18954 bytes)
remote: Repository is in read only mode (over 2 GB size limit).

 

I've tried to search out the solution but they say that the best way to solve this is to ask for  support , and I tried to call git gc locally but no luck on this command

Please help me out!

2 answers

1 vote
Ana Retamal Atlassian Team Nov 06, 2018

Hi, welcome to the Atlassian Community!

I can see from the message you included that you reached 2GB in your repository, that's a hard limited established by Bitbucket Cloud and it's documented at What kind of limits do you have?. To fix that, you'll need to reduce the size of your local repo to under 2GB and then force push it to Bitbucket Cloud, you can find the steps at Reduce repository size.

Let us know if you need any further assistance!

Kind regards,

Ana

Hi Ana , last time I asked this question , I did nothing but after an hour I can push successfully . But this time I've encountered the same situation again and I tried to follow the link you've gave me , but still not working , I've tried 

git reset --hard HEAD~4

, the force push worked on that current commit,  but pushing the local commits after that didn't work out , can you help me  run a  git gc on the server for me please?

 

                                                                                   Steven

FIXED after removing "Tags" on repo...

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

5,720 views 4 12
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