我使用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?
Run Code Online (Sandbox Code Playgroud)
git update-server-info没有帮助.有人有解决方案吗?
先感谢您.
Git instaweb 设计用于在 Web 浏览器中浏览存储库,而不是可以从中克隆的东西。尝试在网络浏览器中访问http://localhost:1234进行查看。
如果你想从某些东西克隆,你可能会寻找git-daemon。