V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
hatcloud
V2EX  ›  问与答

怎么让 Git 的 Commnit 看上去有条理一些?

  •  
  •   hatcloud · 2015 年 5 月 13 日 · 2878 次点击
    这是一个创建于 3919 天前的主题,其中的信息可能已经有所发展或是发生改变。
    今天在Commit中写了比较多的东西,出来一看发现乱糟糟的一团。

    有没有什么特技能让它“DUANG”的一下就像用Markdown写的一样
    7 条回复    2015-05-13 18:12:11 +08:00
    RJZATJZL
        1
    RJZATJZL  
       2015 年 5 月 13 日
    以后注意⚠
    chmlai
        2
    chmlai  
       2015 年 5 月 13 日
    写短一点
    ivenvd
        3
    ivenvd  
       2015 年 5 月 13 日   ❤️ 1
    kokdemo
        4
    kokdemo  
       2015 年 5 月 13 日   ❤️ 2
    首先要把“commit”写对……
    sodatea
        5
    sodatea  
       2015 年 5 月 13 日
    宽松一点的 https://github.com/agis-/git-style-guide#commits
    严格一点的 http://karma-runner.github.io/0.12/dev/git-commit-msg.html
    目前只遵循了第一个链接里的写法,不过准备下个项目遵循 karma 的规范了
    tabris17
        6
    tabris17  
       2015 年 5 月 13 日
    合并commit,加tag
    hatcloud
        7
    hatcloud  
    OP
       2015 年 5 月 13 日
    @kokdemo 哈哈,下次注意
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   4545 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 831ms · UTC 08:35 · PVG 16:35 · LAX 00:35 · JFK 03:35
    ♥ Do have faith in what you're doing.