Git 可以使用 instaweb 生成專案瀏覽;
本地配置:
cat .git/config| tail -n 4 [instaweb] local = false httpd = webrick port = 9988
命令說明:
git instaweb -h usage: git instaweb [options] (--start | --stop | --restart) -l, --local only bind on 127.0.0.1 -p, --port ... the port to bind to -d, --httpd ... the command to launch -b, --browser ... the browser to launch -m, --module-path ... the module path (only needed for apache2) Action --stop stop the web server --start start the web server --restart restart the web server
命令介紹:https://git-scm.com/book/en/v2/Git-on-the-Server-GitWeb
gitweb配置參考:https://git-scm.com/docs/gitweb.conf
命令使用參考:https://git-scm.com/docs/git-instaweb
命令配置:位于.git/gitweb/目錄下;建議使用 webrick啟動;
保持更新,更多內容請參考cnblogs.com/xuyaowen;
配置專案名為 bar.git:

參考鏈接:https://bbs.archlinux.org/viewtopic.php?id=61324
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/6633.html
標籤:其他
上一篇:一名優秀的程式員應該向誰提問
