Git开启web server的方法(修改.gitconfig)

作者在 2013-08-15 16:21:27 发布以下内容

在linux的用户目录,设置.gitconfig


[user]
    name = gs412
    email = gs412@126.com
[color]
    ui = true
[core]
    editor = gvim -f
    whitespace = cr-at-eol
[alias]

    serve = "instaweb --httpd=webrick"


注意红色部分,以后是用 git serve 命令即可开启web服务

Git | 阅读 2715 次
文章评论,共0条
游客请输入验证码
浏览2795769次
文章归档