Lruihao

Lruihao's Note

不怕萬人阻擋,只怕自己投降

Lruihao's Github chart

语义版本控制(SemVer)

摘要

版本格式:MAJOR.MINOR.PATCH,版本号递增规则如下:

  1. MAJOR: 主版本号,当你做了不兼容的 API 修改
  2. MINOR: 次版本号,当你做了向下兼容的功能性新增
  3. PATCH: 修订号,当你做了向下兼容的问题修正

先行版本号及版本编译信息可以加到 MAJOR.MINOR.PATCH 的后面,作为延伸。

Commit Message Spec

Commit messages are short descriptions of changes to a repository. We should follow certain standards to effectively describe changes, such as the Conventional Commits specification based on the Angular convention that is most used on GitHub, or each development team can simplify and formulate their own commit specification. This is not only conducive to the automatic generation of Changelog in the later stage, but more importantly, when a bug occurs, the entire warehouse can be quickly checked, the problem point can be accurately located, and the version can be reverted.

不同系统的换行符的差异

换行符(通常称为行尾、行尾 (EOL)、下一行 (NEL) 或换行符)是字符编码规范(例如,ASCII、EBCDIC)中的控制字符或控制字符序列,用于表示一行文本的结尾和新文本的开头。

0%