本文主要是介绍Install Gitweb in fedora12,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
1.安装gitweb
yum install gitweb
2.配置/var/www/git/gitweb.cgi,指定源码及仓库路径。
our $projectroot = "/var/www/git/linux-2.6";
说明:linux-2.6目录包含内核源码,并且包含.git仓库。
[root@localhost git]# ls
gitweb.cgi linux-2.6 static
3.修改.git/description,添加对git仓库的描述
这篇关于Install Gitweb in fedora12的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!