无法推送到git存储库。它在“写入对象:100%”之后挂起。 [英] Unable to push to git Repository. It hangs after "Writing Objects: 100%"
问题描述
我使用以下命令运行git守护程序。
I am running git daemon with the following command.
c:\cygwin\bin\git daemon --reuseaddr --base-path=/cygdrive/S --export-all --verbose --enable=receive-pack
b $ b
我可以克隆和拉取更新,但是当我尝试推送我获得
I am able to clone and pull updates but when I try to push I get
$ 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)
,则挂起
我目前正在使用git版本1.7.0.4
I am currently using git version 1.7.0.4
推荐答案
问题(Ubunut作为git服务器1.7.0.4,Windows Msysgit是git客户端1.7.0.2)。
如果我使用ubuntu的git客户端,它是确定。
I have the same problem (Ubunut as git server 1.7.0.4, Windows Msysgit is git client 1.7.0.2). While it is ok if I use ubuntu git client.
我更新了客户端到1.7.1.0,它不帮助
I updated the client to 1.7.1.0, it doesn't help
我使用git-daemon来管理repo(启用接收服务器),这是一个问题。 (msysgit with gitdaemon)
I use git-daemon to manage the repo (enable receive-back server), and it is a problem. (msysgit with gitdaemon)
当我切换到gitolite时,问题消失。
When I switch to gitolite, the problem disappear.
建议使用git- daemon为只读
Suggest to use git-daemon for read-only
这篇关于无法推送到git存储库。它在“写入对象:100%”之后挂起。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!