Upgrade to Pro — share decks privately, control downloads, hide ads and more …

git init

Avatar for Nos. Nos.
May 28, 2014

git init

Avatar for Nos.

Nos.

May 28, 2014
Tweet

More Decks by Nos.

Other Decks in Programming

Transcript

  1. • ⾟辛⾟辛苦苦写了⼀一堆代码 • push • pull request / merge request

    • 合并 • ⾃自动 ci • ⾃自动部署 • 上线
  2. • ⾟辛⾟辛苦苦写了⼀一堆代码 • push • pull request / merge request

    • 合并 • ⾃自动 ci • ⾃自动部署 • 上线 what’s missing?
  3. ⼀一个好的 commit msg 可以 • 直接作为 change log • ⽂文档的⼀一部分

    • 让⾃自⼰己和其他⼈人能很快明⽩白,这次提交是什么内容 • 出了 bug 好定位是哪次提交引⼊入的问题 • ⾃自动化的基础
  4. DEFINE “好的 commit msg” • The commit message is what

    is what describes your contribution. Its purpose must therefore be to document what a commit contributes to a project. ! • Its head line should be as meaningful as possible because it is always seen along with other commit messages. ! • Its body should provide information to comprehend the commit for people who care. ! • Its footer may contain references to external artifacts (issues it solves, related commits) as well as breaking change notes. ! • This applies to all kind of projects.