Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
specification
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
document-repository
specification
Commits
d3e10c88
Commit
d3e10c88
authored
Dec 09, 2020
by
wb-ct393452
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交 使用Commit-Message-Create插件
parent
0c99cd2d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
git开发流程规范/Git操作指南.md
git开发流程规范/Git操作指南.md
+4
-6
No files found.
git开发流程规范/Git操作指南.md
View file @
d3e10c88
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment