Commit d2e5e118 by leopku

更新流程,任务id号使用在任务开头和注释中。

parent e79894b9
......@@ -79,46 +79,74 @@
2. 开始一个新任务
1. 打开 [issue](http://git.hezuo.tk/tech/gitlevel/issues) 页面,点击 "New Issue" 创建一个新任务: `Subject` 处填写:*你的姓名*新手任务; `Details` 处填写:队长,别开枪,是我!
2. 记下 Issue 的 ID 号
3. 在项目根目录下运行
```
$ git flow feature start your.name
$ git flow feature start issue_id_your_name
```
**注意:使用当前登陆系统的用户名代替 `your.name`**
**注意:issue_id使用刚才新建的版本号代替(下同);使用当前登陆系统的用户名代替 `your.name`(下同)**
3. 在项目根目录下新建一个文本文件,文件名 `your.name.txt`,并在文件内写上如下内容:
3. 在项目根目录下新建一个文本文件,文件名 `issue_id_your_name.txt`,并在文件内写上如下内容:
```php
<?php echo phpinfo(); ?>
```
# 标题一
## 标题二
1. 有序列表
2. 有序列表
3. 有序列表
**注意:使用当前登陆系统的用户名代替 `your.name`**
* 无序列表
* 无序列表
* 无序列表
- [x] this is a complete item
- [ ] this is an incomplete item
```
4. 添加文件并提交
在项目根目录下执行:
```console
$ git add your.name.txt
$ git add issue_id_your_name.txt
```
5. 提交变更
5. 提交变更
在项目根目录下执行:
```console
$ git commit -m "add your.name.txt"
$ git commit -m "#issue_id add your name file"
```
6. 完成任务
6. 推送分支
在项目根目录下执行:
```console
$ git flow feature finish your.name
$ git push origin feature/issue_id_your_name
```
7. 在第 2 步提交的任务下,填写注释:
@liu.song 任务 #issue_id 已完成
并等待任务验收通过邮件。
6. 接收到任务验收通过邮件后
在项目根目录下执行:
```console
$ git flow feature finish issue_id_your_name
```
**注意:此处 `your.name` 和第二步开始新任务中的your.name要保持一致。**
7. 向远程版本库推送刚才的提交
7. 向远程版本库推送
在项目根目录下执行:
......@@ -129,7 +157,3 @@
## Level 2
待添加
# 任务完成
发送邮件至 `liu.song@topka.cn`,说明完成任务的等级。
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