我使用的是git 1.7.9版本,当我检查并重新检查了我的配置时,我无法从守护进程获取克隆。有没有在/ var任何错误的指示/ log/messages中:为什么git-daemon不会为我的存储库提供服务?
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克隆并推送到这个存储库。
见Git Community book我认为这个问题应该被张贴到[serverfault.com](http://www.serverfault.com)来代替。 – wonderb0lt 2012-02-14 18:57:33
我想到了这一点,但在我看来,领域知识更有可能成为SO。 – 2012-02-14 19:40:22
@Sorvahr:看[faq];有关“程序员常用的软件工具”的问题是StackOverflow范围的核心部分。 – Cascabel 2012-02-14 23:16:21