Post

commit message

git commit message的格式

git commit携带信息的描述, 目前可以约定一下, 当然针对工程项目

commit信息头

1
2
3
4
5
6
[GIT] -> 修改git文件,注入gitmodule,gitignore
[FEAT] -> 新增feature
[FIX] -> bug fix
[DOC] -> document修改大类,诸如README
[LINT] -> just as it described
[REAF] -> refactor

commit信息body, jira是可选的,也可以是issue

: 这样的好处是commit message非常的清晰
This post is licensed under CC BY 4.0 by the author.

Trending Tags