我使用的是git版本1.7.9,虽然我已经检查了一遍又一遍我的配置,但我无法从守护进程获得克隆。/var/log/messages中没有任何错误的迹象:
Feb 14 13:40:36 build git-daemon[9226]: Connection from 10.103.26.134:55331
Feb 14 13:40:36 build git-daemon[9226]: Extended attributes (22 bytes) exist <host=hostname.local>
Feb 14 13:40:36 build git-daemon[9226]: Request upload-pack for '/project.git'
Feb 14 13:40:36 build git-daemon[9220]: [9226] Disconnected (with error)也不是在客户端上:
D:\git>git clone git://hostname.local/project.git project
Cloning into 'project'...
fatal: The remote end hung up unexpectedly这里有什么明显的遗漏吗?
git 9220 1 0 13:40 ? 00:00:00 /usr/local/libexec/git-core/git-daemon --user=git --reuseaddr --verbose --detach --export-all --base-path=/home/git我可以通过SSH克隆并推送到这个存储库。
发布于 2012-02-15 05:38:48
在存储库的根目录中有git-daemon-export-ok文件吗?
请参阅Setting Up A Public Repository的Git Community book
https://stackoverflow.com/questions/9282441
复制相似问题