cgit 环境搭建
https://blog.csdn.net/X289700836/article/details/76577477
https://baijiahao.baidu.com/s?id=1756677998583017238
https://wiki.archlinux.org/title/Cgit
实例:
https://git.zx2c4.com/cgit/tree/Makefile
sudo gedit cgitrc: /etc/cgitrc
virtual-root=/
enable-index-links=1
enable-log-filecount=1
enable-log-linecount=1
#snapshots=tar.gz tar.bz zip
enable-commit-graph=1
enable-subject-links=1
#enable-http-clone=1
enable-http-clone=0
root-desc=Git repositories hosted project
root-title=git repositories
repo.path=/home/robin/work/kernel-rockchip
repo.desc=kernel-rockchip
repo.owner=robin
repo.url=kernel-rockchip
source-filter=/usr/lib/cgit/filters/syntax-highlighting.py

浙公网安备 33010602011771号