我正在尝试使用instaweb查看本地git存储库。
首先,我在克隆的存储库中尝试了以下命令:
git instaweb --httpd=webrick接收到以下错误:
Not Found
`/' not found.
WEBrick/1.3.1 (Ruby/2.0.0/2014-05-08) at 127.0.0.1:1234 我安装了lighttpd (我在Mac OS X Mavericks机器上)并尝试
git instaweb接收404错误。
然后安装并创建了一个全新的git存储库,通过
git init并再次尝试上述两种方法,但都无济于事。
我的.gitconfig文件如下所示:
[web]
browser = ff
[browser "ff"]
cmd = open -a Firefox.app
[core]
editor = emacs.git/gitweb/lighttpd/error.log文件如下所示:
2015-09-10 00:35:52: (log.c.164) server started任何帮助都是非常感谢的。
发布于 2015-10-05 09:43:09
我使用git 2.3.8时也出现了同样的症状,git 2.3.8是我的默认安装(git version 2.3.8 (Apple Git-58))附带的。
我通过brew (brew install git)安装了git 2.6.0,之后它就可以工作了(git version 2.6.0)。
https://stackoverflow.com/questions/32496341
复制相似问题