Git Daemon Hang SO_KEEPALIVE

时间:2016-07-19 11:39:23

标签: git

我在Windows上使用Git 2.9。使用git守护程序创建演示Git训练时,我点击了SO_KEEPALIVE错误。

@Server
$ git daemon --base-path=. --enable=receive-pack --verbose
[18608] Ready to rumble
[18108] Connection from 127.0.0.1:61111
[18108] unable to set SO_KEEPALIVE on socket: No error
[18108] Extended attributes (16 bytes) exist <host=127.0.0.1>
[18108] Request receive-pack for '/hello-world.git'

@ACommitter
$ git push -u origin "john--01--create-app-saying-hello"

为什么会这样?

1 个答案:

答案 0 :(得分:1)

从Git for Windows 1.9.4开始,以下命令应解决您的问题:

git config --global sendpack.sideband false

https://stackoverflow.com/a/24461876/1250319