亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

http - Apache搭建只讀的git服務器為什么clone失敗?
黃舟
黃舟 2017-04-28 09:04:33
0
1
688

在Apache的htdocs下創(chuàng)建一個空的 git倉庫

git --bare init myweb.git

然后在瀏覽器訪問 http://127.0.0.1/myweb.git/ 確認是可以看到文件的。

但是在git命令行下,用 git clone http://127.0.0.1/myweb.git 卻報錯

fatal: repository 'http://127.0.0.1/myweb.git/' not found

這是為何呢?

不應該是權限問題呀,clone只需要只讀權限即可。

是不是空倉庫還需要其他配置?

黃舟
黃舟

人生最曼妙的風景,竟是內(nèi)心的淡定與從容!

reply all(1)
給我你的懷抱

You also need to execute under htdocs/myweb.git

git update-server-info
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template