2012-02-14 28 views
0

我使用的是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克隆并推送到这个存储库。

+0

Git Community book我认为这个问题应该被张贴到[serverfault.com](http://www.serverfault.com)来代替。 – wonderb0lt 2012-02-14 18:57:33

+0

我想到了这一点,但在我看来,领域知识更有可能成为SO。 – 2012-02-14 19:40:22

+0

@Sorvahr:看[faq];有关“程序员常用的软件工具”的问题是StackOverflow范围的核心部分。 – Cascabel 2012-02-14 23:16:21

回答

0

你有git的守护出口-OK文件在回购的根源在哪里?

Setting Up A Public Repository

+1

没关系;他正在使用'--export-all'。 – 2012-02-14 22:17:06

+0

是的,如果这是问题,你会得到一个明确的错误。 – 2012-02-14 22:54:24

相关问题