3 Star 5 Fork 0

Git工具集/gitosis

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
gitweb.conf 1.24 KB
一键复制 编辑 原始数据 按行查看 历史
Tommi Virtanen 提交于 2015-01-23 02:43 +08:00 . Use dashless form for git daemon
# Include the global configuration, if found.
do "/etc/gitweb.conf" if -e "/etc/gitweb.conf";
# Point to projects.list file generated by gitosis.
# Here gitosis manages the user "git", who has a
# home directory of /srv/example.com/git
$projects_list = "/srv/example.com/git/gitosis/projects.list";
# Where the actual repositories are located.
$projectroot = "/srv/example.com/git/repositories";
# By default, gitweb will happily let people browse any repository
# they guess the name of. This may or may not be what you wanted. I
# choose to allow gitweb to show only repositories that git daemon
# is already sharing anonymously.
$export_ok = "git-daemon-export-ok";
# Alternatively, you could set these, to allow exactly the things in
# projects.list, which in this case is the repos with gitweb=yes
# in gitosis.conf. This means you don't need daemon=yes, but you
# can't have repositories hidden but browsable if you know the name.
# And note gitweb already allows downloading the full repository,
# so you might as well serve git daemon too.
# $export_ok = "";
# $strict_export = "true";
# A list of base urls where all the repositories can be cloned from.
# Easier than having per-repository cloneurl files.
@git_base_url_list = ('git://example.com');
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/vcs-all-in-one/gitosis.git
git@gitee.com:vcs-all-in-one/gitosis.git
vcs-all-in-one
gitosis
gitosis
master

搜索帮助