列出由git-daemon提供的所有存储库 [英] Listing all repositories served by git-daemon

查看:91
本文介绍了列出由git-daemon提供的所有存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我知道有一个 git-daemon 运行在 git://git.mycompany.com ,如何列出特定实例提供的所有存储库?

Assuming that I know there is a git-daemon running at git://git.mycompany.com, how can I list all repositories served by that specific instance?

更新:我不知道'有外壳访问git.mycompany.com。

Update: I don't have shell access to git.mycompany.com.

推荐答案

还有一种方法,但它需要一些公司的帮助服务器管理员。
Git提供了一个名为'GitWeb'的可浏览web前端,它可以配置为显示git提供的所有项目。

There is one other way but it needs some assistance of you companies server admins. Git features a browsable web frontend called 'GitWeb' which can be configured to show all projects served by git.

详细信息在 GitWeb自述文件 - 感兴趣的配置密钥被称为
GITWEB_PROJECTROOT:

Details are explained in the GitWeb README - the config key of interest is called "GITWEB_PROJECTROOT":


GITWEB_PROJECTROOT
gitweb显示的所有项目的根目录。必须为gitweb正确设置
才能找到要显示的存储库。另请参阅
gitweb repositoriesin INSTALL file for gitweb。

GITWEB_PROJECTROOT The root directory for all projects shown by gitweb. Must be set correctly for gitweb to find repositories to display. See also "Gitweb repositories" in the INSTALL file for gitweb.

也许你可以和你谈一谈管理员 - gitweb对所有开发者来说都是一笔巨大的利润。

Maybe you could have a talk with you admins - gitweb can be a great profit for all developers.

这篇关于列出由git-daemon提供的所有存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆