标签: instaweb

git instaweb给403 Forbidden - 找不到任何项目

git instaweb在我的存储库中运行会打开一个页面,上面写着"403 Forbidden - 找不到任何项目".我错过了什么?

git instaweb http-status-code-403

7
推荐指数
1
解决办法
5895
查看次数

如何在Windows上安装GitWeb?

我正在尝试使用GitWeb来浏览我的存储库,我对它很新,所以我遇到了一些问题,我知道GitWeb是随Git一起提供的,我是从这里下载的http://code.google .com/p/msysgit/downloads/list?q = full + installer + official + git,它位于\ share\gitweb,然后我打开控制台(Git Bash),浏览到存储库并运行命令git instaweb,但是它说git: 'instaweb' is not a git command.

有谁知道安装和配置GitWeb的正确方法是什么?

我已经阅读了很多教程,但是它们很混乱:/

任何帮助将不胜感激,谢谢.

git repository instaweb gitweb

5
推荐指数
2
解决办法
5870
查看次数

Git instaweb httpd 配置在 OSX Leopard 服务器上使用 apache2

默认情况下,git instaweb 需要 lighttpd Web 服务器,而在 OSX Leopard 服务器上,apache2 是默认服务器。

将以下内容添加到 .git/config :

[instaweb]
local = true
httpd = apache2 -f
port = 4321
modulepath = /usr/libexec/apache2
Run Code Online (Sandbox Code Playgroud)

运行 ' git instaweb' 结果是:

apache2 not found.  
Install apache2 or use --httpd to specify another httpd daemon.
Run Code Online (Sandbox Code Playgroud)

我应该如何设置.git/config才能让它使用我的默认网络服务器?

谢谢

git macos configuration instaweb

3
推荐指数
1
解决办法
4800
查看次数

具有多个存储库的Git Instaweb无法正常工作

我通过grok镜像填充了以下estructure:

/var/opt/git/git-data/repositories
   /organization1  
      /teamA
        /repo1
        /repo2
      /teamB
        /repo3
        /repo4
  /organizationN          
      /teamN
        /repoN
Run Code Online (Sandbox Code Playgroud)

git instaweb对于单个存储库工作正常,但是如果我要自动git instaweb在“存储库”目录下显示所有存储库,则它不起作用:

fatal: Not a git repository (or any parent up to mount point /var/opt/git/git-data)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Run Code Online (Sandbox Code Playgroud)

这是正确的,因为在父目录中没有存储库,但是如果我git instaweb/var/opt/git/git-data/repositories/organization/teamA/ 那里执行,则会遇到相同的错误,并且该目录内是裸存储库所在的位置(每个存储库的repoN.git目录)

我设置了GIT_DISCOVERY_ACROSS_FILESYSTEM无结果的环境变量。我还设置/etc/gitweb.conf了以下条目:our $projectroot = "/var/opt/git/git-data/repositories";

正如我在该项目的文档中所读到的那样,git instaweb可以服务于多个存储库,而不仅仅是一个,而且它可以在特定目录下查找存储库。

我究竟做错了什么?

git instaweb

2
推荐指数
1
解决办法
465
查看次数