Git Push Hanging even for new repository

Emmanuel Oluwagbemi July 7, 2014

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.

2 answers

1 accepted

0 votes
Answer accepted
rsperafico
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 8, 2014

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

Emmanuel Oluwagbemi August 3, 2014

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.

Deleted user August 7, 2019

How did you fix your wireless driver? did you install a later version? (I'm having the same problem)

0 votes
christianauroville October 4, 2019

Hi, I had being having the same issue and nothing worked for me but using:

$git remote add origin git@bitbucket.org:<username>/<reponame>.git

$git push -u origin master

*Was not working cloning a new created repo in bitbucket, cloning it in my local desktop, adding the files (keeping .git) and trying git push

christianauroville October 4, 2019

*Using https clone

Like olivier likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events