首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >为什么git-daemon不能服务于我的存储库?

为什么git-daemon不能服务于我的存储库?
EN

Stack Overflow用户
提问于 2012-02-15 02:48:00
回答 1查看 508关注 0票数 0

我使用的是git版本1.7.9,虽然我已经检查了一遍又一遍我的配置,但我无法从守护进程获得克隆。/var/log/messages中没有任何错误的迹象:

代码语言:javascript
复制
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)

也不是在客户端上:

代码语言:javascript
复制
D:\git>git clone git://hostname.local/project.git project
Cloning into 'project'...
fatal: The remote end hung up unexpectedly

这里有什么明显的遗漏吗?

代码语言:javascript
复制
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克隆并推送到这个存储库。

EN

回答 1

Stack Overflow用户

发布于 2012-02-15 05:38:48

在存储库的根目录中有git-daemon-export-ok文件吗?

请参阅Setting Up A Public RepositoryGit Community book

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/9282441

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档