gitweb setup base on git repo
来源:互联网 发布:星际淘宝网txt全文下载 编辑:程序博客网 时间:2024/05/20 23:05
-----------------
git
/srv/project.git
------------------------
cat /etc/gitweb.conf
# path to git projects (<project>.git)
$projectroot = "/srv";
# directory to use for temp files
$git_temp = "/tmp";
# target of the home link on top of all pages
#$home_link = $my_uri || "/";
# html text to include at home page
$home_text = "indextext.html";
# file with project list; by default, simply scan the projectroot dir.
$projects_list = $projectroot;
# stylesheet to use
@stylesheets = ("static/gitweb.css");
# javascript code for gitweb
$javascript = "static/gitweb.js";
# logo to use
$logo = "static/git-logo.png";
# the 'favicon'
$favicon = "static/git-favicon.png";
# git-diff-tree(1) options to use for generated patches
#@diff_opts = ("-M");
#
#$feature{'blame'}{'default'} = [1];
#$feature{'blame'}{'override'} = 1;
#$feature{'snapshot'}{'default'} = ['zip', 'tgz'];
#$feature{'snapshot'}{'override'} = 1;
@diff_opts = ();
------------------------------------
apache2 config:
<VirtualHost *:8081>
DocumentRoot /srv
<Directory "/srv">
Allow from All
Options +ExecCGI
AllowOverride All
</Directory>
SetEnv GIT_PROJECT_ROOT /srv
SetEnv GIT_HTTP_EXPORT_ALL
ScriptAlias /git/ /usr/lib/git-core/git-http-backend
</VirtualHost>
service apache2 restart
- gitweb setup base on git repo
- How to setup a GIT server with gitosis and gitweb
- git : Setup git remote on local drive
- Gitweb on Ubuntu9.10
- Pod setup 提示 The `master` repo is not a git repo.
- Setup GIT server on ubuntu 9.04
- 【git】gitweb 404 错误
- CentOS-Base.repo
- CentOS-Base.repo
- CentOS-Base.repo
- centos7 base repo
- CentOS-Base.repo
- An error occurred while performing 'git pull' on repo 'master'
- Git Repo
- repo-git
- repo git
- repo git
- Repo Git
- 八数码
- 制作自定义CSDNBLOG皮肤
- [转载]互斥锁
- NSURL的scheme, path和query等各接口输出结果
- 键盘监控的实现Ⅰ——Keyboard Hook API函数
- gitweb setup base on git repo
- JAVA 运行 提示 Exception in thread "main" java.lang.NoClassDefFoundError 解决方法
- Java还是程序员的金饭碗
- Uva 861 (little bishop)搜索,棋盘多项式,dp
- JDK 8 获取编译后Class中方法参数中的名称
- 移动pc多平台运营级家校互动平台系统源码转让
- 白发变黑有诀窍
- codeforces 417B - Crash
- 目前,普通钽电容已经推荐使用者选用常规电压*3的耐压值了