Commit d3e10c88 authored by wb-ct393452's avatar wb-ct393452

提交 使用Commit-Message-Create插件

parent 0c99cd2d
......@@ -61,7 +61,7 @@ $ git checkout -b myfeature
- 修复分支
``bugfix/{$username}/{$date}/{aone}_{$issue_id}_{$description}``
``bugfix/{$username}/{$date}/{$issue_id}_{$description}``
其中:
......@@ -71,16 +71,12 @@ $ git checkout -b myfeature
变量``$date``代表分支创建日期,格式为``yyyyMMdd``,比如``20190213``
``aone``代表缺陷来源,如果为``aone``,则代表缺陷来源为Aone,否则不需要加这一项。
变量 $issue_id 代表Issue ID或者Aone缺陷ID,或者 #64686;
变量 $issue_id 代表缺陷ID,或者 #64686;
变量 $description 代表分支功能描述。应该尽量用简短的词组描述,建议不要使用中文,多个单词用下划线分割,比如 remove_thread。
完整的例子:
``bugfix/hk/20190213/aone_#64686_login``
````bugfix/hk/20190213/#64686_login````
### 四、与主干分支同步
......@@ -106,6 +102,8 @@ git commit
提交``commit``时,需要撰写完整的提交信息
安装工具: Commit-Message-Create
```
feat:新功能(feature)
fix:修补bug
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment