一、创建issue分支

1. 创建issue

  • Issue —> New issue

Title [ bug <issue-id> ] : <commits>
Description <comments>
Assignee <solvers>


  • Submit issue

2. 创建分支

  • Issue —> <Title> —> Create merge request

Branch name <brach-id>
Source (branch or tag) master


  • Create merge request

二、提交issue分支

$ git pull

$ git brach -a
* master
  remotes/origin/<branch-id>

$ git checkout remotes/origin/<branch-id>
$ git brach -a
* remotes/origin/<branch-id>
  master

After fixing up the issue . . .

$ git status
...
  modified:  <modifile>
...

$ git add <modifile>
$ git commit -m '<commits>'
$ git push --set-upstream remotes/origin/<branch-id>

三、提交merge请求

  • Merge Requests —> <Resolve "Title"> —> Edit

Description [Write] Closes #<id>
Assignee <merger>
Target branch master
☑ Delete source branch when merge request is accepted.


  • Save changes

四、等待merge结果

当提交的 issue 分支被<merger>成功 merge 到 master 分支上后,该 issue 将会被关闭。

11-02 00:18