0

私は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経由で問題なくクローンを作成して、このリポジトリにプッシュできます。

4

1 に答える 1

0

リポジトリのルートにgit-daemon-export-okファイルがありますか

パブリックリポジトリの設定については、 Gitコミュニティの本を参照してください

于 2012-02-14T21:38:47.710 に答える