- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我使用 git-instaweb 在我的本地机器上设置了一个 git 网络服务器。
现在我希望能够从该存储库中克隆,但是当我尝试时
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 浏览器中浏览存储库而设计,而不是您可以从中克隆的东西。尝试转到 http://localhost:1234在您的网络浏览器中查看。
如果你想从某物中克隆,你可能正在寻找 git-daemon相反。
关于git-instaweb 和 git-clone,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5227756/
我有以下通过 grok 镜像填充的结构: /var/opt/git/git-data/repositories /organization1 /teamA /rep
当我在启动时运行它(使用 update-rc 方法)时,它显示一个浏览器 (w3m) 指向该页面,并且启动停止,直到我退出浏览器。有没有办法在启动时静默运行它?我查看了联机帮助页,但它什么也没说,所以
我正在尝试设置 git instaweb 以在 Chrome 中打开。我已经像这样设置了默认浏览器: git config --global web.browser chrome 此更改反射(refl
我使用 git-instaweb 在我的本地机器上设置了一个 git 网络服务器。 现在我希望能够从该存储库中克隆,但是当我尝试时 git clone http://localhost:1234 它给
是否可以在 Windows 上使用 instaweb? 我在 D:/myrepo 有一个裸仓库,我想使用 instaweb 来查看它 this 我试过这个命令 git instaweb --httpd
我正在尝试使用 Nginx 设置 gitweb。 但是 git instaweb 支持的 web 服务器很少,包括 httpd、apache、webrick 等。 我尝试在 git instaweb
在我的存储库中运行 git instaweb 会打开一个显示“403 Forbidden - No projects found”的页面。我错过了什么? 最佳答案 看起来像 debian 安装的 gi
默认情况下,git instaweb 需要 lighttpd 网络服务器,而在 OSX Leopard 服务器上,apache2 是默认服务器。 将以下内容添加到 .git/config : [ins
我是一名优秀的程序员,十分优秀!