Why does my git push hang after successfully pushing?

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2011-01-03T18:26:02Z Indexed on 2011/01/03 22:53 UTC
Read the original article Hit count: 162

Filed under:

On a newly set up ssh git repo, whenever I push, I get normal output like this:

? git push
Counting objects: 15, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (9/9), done.
Writing objects: 100% (9/9), 989 bytes, done.
Total 9 (delta 7), reused 0 (delta 0)

It happens very quickly, and the changes are immediately available on the server repo. But the output hangs there for about a minute, and then finishes with:

To [email protected]:baz.git
   c8c391c..1de5e80  branch_name -> branch_name

If I control-c before it finishes, everything seems to continue to be normal and healthy, locally and remotely.

What is it doing while hanging? Is something configured incorrectly on the server side?

© Stack Overflow or respective owner

Related posts about git