Why does a “git push” just hang there indefinitely using MySysGit 1.7.4?

前端 未结 2 372
悲哀的现实
悲哀的现实 2020-12-14 01:19

I tried small experiments with Ruby and Rails, and would like to push and pull from the Mac to PC and vice verse.

So I installed what the Git\'s website\'s standard

相关标签:
2条回答
  • 2020-12-14 01:42

    Apparently due to a bug in msysgit, that prevents it from pushing to git-daemon.

    http://code.google.com/p/msysgit/issues/detail?id=457

    I was stuck on this myself. You can either install cygwin git (worked for me) or use ssh-based repo (worked for me as well, but i installed the remote repo on linux and used gitolite)

    0 讨论(0)
  • 2020-12-14 02:01

    They have just released a version that allows a config option to stop git hanging.

    Fix is for https://github.com/msysgit/git/issues/101 in release https://github.com/msysgit/msysgit/releases/tag/Git-1.9.4-preview20140611

    You can fix it by setting

    git config --global sendpack.sideband false
    
    0 讨论(0)
提交回复
热议问题