Skip to content

Commit f7bdacd

Browse files
committed
Update
1 parent 7446d30 commit f7bdacd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ $(description)
386386
- 后加入项目的新成员应遵循已有的 scope 约定(通过 `git log` 可以查看某个文件的提交历史或咨询 leader),不要自己编造。
387387
- `$(subject)`:必需,描述 what 和 why。
388388
- 50 个字符左右的简要说明,首字母小写,祈使句(即使用动词原型,无时态),不加句号。
389-
- 禁止出现 *update code**fix bug* 等无实际意义的描述(这种废话写了跟没写一样),好的例子: *select connector by sorting free memory* (不需要形如 *update about how to select connector ...* 的啰嗦写法),*fix sucess tip can not show on IE8* (不需要形如 *fix bug of ...* 的啰嗦写法)。
389+
- 禁止出现 *update code**fix bug* 等无实际意义的描述(这种废话写了跟没写一样),好的例子: *select connector by sorting free memory* (不需要形如 *update about how to select connector ...* 的啰嗦写法),*fix success tip can not show on IE8* (不需要形如 *fix bug of ...* 的啰嗦写法)。
390390
- 一个简单的判断 subject 是否合适的办法:[把你的 subject 放到句子 *If applied, this commit will xxx* 里是否通顺?](https://chris.beams.io/posts/git-commit/#imperative)
391391
- `$(description)`:可选,详细说明,建议使用列表罗列要点,也用英文写。
392392

0 commit comments

Comments
 (0)