无法推送到git Repository.它在"写物体:100%"之后挂起

Jas*_*Red 13 git cygwin git-pull git-push git-daemon

我正在使用以下命令运行git守护程序.

c:\cygwin\bin\git daemon --reuseaddr --base-path=/cygdrive/S --export-all --verbose --enable=receive-pack
Run Code Online (Sandbox Code Playgroud)

我能够克隆并提取更新,但是当我尝试推送时,我得到了

$ git push origin master

Counting objects: 6, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (6/6)
Run Code Online (Sandbox Code Playgroud)

然后它挂了

我目前正在使用git版本1.7.0.4

Lar*_*Cai 0

我有同样的问题(Ubunut作为git服务器1.7.0.4,Windows Msysgit是git客户端1.7.0.2)。如果我使用 ubuntu git 客户端就可以了。

我把客户端更新到1.7.1.0了,没用

我使用 git-daemon 来管理存储库(启用接收服务器),这是一个问题。(msysgit 与 gitdaemon)

当我改用 gitolite 时,问题就消失了。

建议使用 git-daemon 只读