我使用的是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