0
作成トライアル
$ mkdir Test; cd Test; git init
$ echo "Just dummy test file" > test1; git add .
$ git commit -m "cloning soon through http, this repo is in public_html -dir"
$ pwd
/users/hhh/public_html
を-repoそして今
$ git clone http://mysite.com/hhh/Test/
Cloning into Test...
fatal: http://mysite.com/hhh/Test/info/refs not found: did you run git update-server-info on the server?
$ git update-server-info
$ git clone http://mysite.com/hhh/Test/
Cloning into Test...
fatal: http://mysite.com/hhh/Test/info/refs not found: did you run git update-server-info on the server?
は、どのように私はそのようなレポのクローンを作成することができ、それのクローンを作成しようとしている.git?
サーバから 'git update-server-info'を実行していますか?あなたの説明から明らかではありません –
@DorShemer:はい私はリポジトリを持っているサーバーでコマンドを実行しています。リポジトリはpublic_html -dirにあり、そこからクローンを作成しようとしています。 – hhh
'http:// mysite.com /'はホスト自体から適切に解決されますか? – Romain