[英]git-instaweb and git-clone
我使用git-instaweb在我的本地機器上設置了一個git webserver。
現在我希望能夠從那個回購中克隆,但是當我嘗試時
git clone http://localhost:1234
它給了我一個錯誤:
fatal: http://localhost:1234/info/refs not found: did you run git update-server-info on the server?
git update-server-info
沒有幫助。 有人有解決方案嗎?
先感謝您。
Git instaweb設計用於在Web瀏覽器中瀏覽存儲庫,而不是您可以克隆的內容。 嘗試在Web瀏覽器中訪問http:// localhost:1234以查看。
如果你想從某些東西克隆,你可能正在尋找git-daemon 。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.