zoukankan      html  css  js  c++  java
  • gitweb 配置概述

    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 

  • 相关阅读:
    KnowYoueSelf
    计算机组成原理--海明码的编码和校验方法(易懂)
    html5新特性
    web前端性能优化
    web标准
    《王者归来》笔记-安全&性能01
    vue核心最基本功能
    BOM&DOM
    JavaScript-语法
    前端04
  • 原文地址:https://www.cnblogs.com/xuyaowen/p/gitweb-webrick.html
Copyright © 2011-2022 走看看