搜尋結果
cgit Quick Facts. web interface (cgi) for Git repositories, written in C. licensed under GPLv2. discussions, patches etc. go to the list (signup, archive). real time chat available in #cgit on Libera.Chat. common questions are answered in the FAQ.
2023年5月10日 · 简介. cgit 是一个用 C 编写的用于 Git 存储库的超高速前端用户界面,特点:简单、强大。. 谁在使用?. 比如: https://git.kernel.org/. cgit. 准备环境. 前置条件:在 Debian 11 上已安装 nginx, git, vim 等软件包. 必需软件包. 安装 apache2-utils 用于 HTTP 基本认证管理 ...
其他人也問了
What does CGIT stand for?
How do I use CGIT?
What did CGIT do?
What is CGIT-cum-LC?
Why should you join CGIT?
What does cgitrc do?
README. GPL-2.0 license. cgit - cgi for git. This is an attempt to create a fast web interface for the git scm, using a. builtin cache to decrease server io-pressure. Installation. Building cgit involves building a proper version of git.
- Configuration of Web Server
- Integration
- Troubleshooting
- See Also
Apache
Add the following to the end of your /etc/httpd/conf/httpd.conf: or alternatively add it to a separate file like etc/httpd/conf/extra/cgit.confand then add the following to the end of httpd.conf: This allows you to access cgit via your.server.com/cgit. Make sure that Apache is configured to permit CGI execution by having the following uncommented in httpd.conf: then restart httpd.service to apply these changes. For further details about CGI execution with Apache, see https://httpd.apache.org/...
Lighttpd
The following configuration will let you access cgit through http://your.server.com/git or http://your.server.com/cgit. The cgit url is not perfect (for example you will see "cgit.cgi" in all repos' url) but works. Create the file /etc/lighttpd/conf.d/cgit.conf: And include this file in /etc/lighttpd/lighttpd.conf: and restart the lighttpd.service.
Caddy
The following configuration uses fcgiwrap and will serve cgit on a subdomain like git.example.com. Start and enable fcgiwrap.socket. Then, configure Caddy: Configure cgit to point assets to the same directory used in handle_path:
Gitosis
If you want to integrate with gitosisyou will have to run two commands to give Apache permission to look through the folder.
Gitolite
If you added repositories managed by gitoliteyou have to change the permissions so the web server can access the files. 1. Add the http user to the gitolite group: 1.1. usermod -aG gitolite httpas the root user. 2. Change permission for future repositories: 2.1. Edit /var/lib/gitolite/.gitolite.rc. Change the UMASK to 0027 2.2. See also: https://gitolite.com/gitolite/rc.html#specific-variables 3. Change permission for the gitolite home directory, and existing repositories. Run the following t...
The following troubleshooting subsections largely outline issues that are caused by the order of settings in the cgit configuration file. To be safe, try to ensure that all global settings are defined before scan-path.
How to do this depends on how you obtained the cgit sources: a) If you're working in a cloned cgit repository, you first need to initialize and update the Git submodule: $ git submodule init # register the Git submodule in .git/config $ $EDITOR .git/config # if
2024年6月10日 · 如果沒有多人合作 CI/CD 需求直接從網頁登入存取的需求 cgit 這個由 C 語言開發的網頁 cgi 服務, 簡潔又快速的功能或許可以輕易滿足你的需求喔 步驟 1.
目前,已提供了Ubuntu、Mac、Window的预编译程序,如果使用的是其他系统,可以采用源码编译安装。. linux下安装. sudo wget http://cgit.killf.info/cgit_linux_latest -O /usr/local/bin/cgit && sudo chmod 755 /usr/local/bin/cgit. mac下安装. sudo wget http://cgit.killf.info/cgit_mac_latest -O /usr/local/bin/cgit ...