Git Push Hanging even for new repository

I had a repository on bitbucket which worked just fine for a while. A few weeks ago, I tried to push a rather large commit ( > 10mb) ; it just hung. I retried several times. Each time, I'd see something like:

Counting objects: 34, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (33/33), done.
Writing objects: 100% (33/33), 16.17 MiB | 15.42 MiB/s, done.
Total 33 (delta 0), reused 0 (delta 0)

And that would be it. It would stay that way for hours.

Increasing the http buffer size using:

git config http.postBuffer 524288000

hasn't worked either; nor has 're-initing' the repository or recreating the repo on bitbucket.

What to do .......

BTW: I'm working on an Ubuntu 14 OS.

1 answer

1 accepted

0 votes

Hi Emmanuel,

Thank you for your question.

Under which protocol (HTTPS/SSH) are you pushing into your repository? I would kindly ask you to set up SSH by adding a key-pair to your repository and re-attempt on pushing files into it, please.

Kind regards,
Rafael

I set up SSH and it still did not fix the problem. After failing to upload a 7mb file as a gmail attachment, which smaller attachments worked, I have (after some other tests) determined that my wireless driver it what's faulty. It's not git, neither is it bitbucket. I consider this issue resolved. Thank you.

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

635 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot