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
Accepted answer

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,

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 Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

413 views 5 9
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