Use TortoiseGit
Peter Chen
Install Git
Install TorotiseGit
Install Git
Install TorotiseGit
Clone
打開GitLab進入專案首頁按下Copy URL to clipboard
本地資料夾按右鍵點選`Git Clone...`
Install Git
Install TorotiseGit
Clone
Set bugtraq
.git/config中加入[bugtraq]
Commit時可以填入Jira單號
Install Git
Install TorotiseGit
Clone
Set bugtraq
Set Remote
專案資料夾右鍵`TortoiseGit` => `Settings`
打開Remote頁籤
設定Clone的URL為origin remote的URL
Install Git
Install TorotiseGit
Clone
Set bugtraq
Set Remote
Get Jira
Get Jira
Branch
在分支中解Jira單
專案資料夾右鍵`TortoiseGit` => `Create Branch...`
Branch Name格式: Jira單號/版本號
Get Jira
Branch
Checkout
查看目前所在的分支對資料夾按右鍵
Get Jira
Branch
Checkout
Developing
Developing
Developing
Pull
本地的Program.cs是Hello World!
遠端的Program.cs已經被改成Hello Git!
本地的Hello World!已經變成Hello Git!
Developing
Pull
Conflict
Developing
Pull
Conflict
Resolve
畫面說明
左上: 遠端檔案庫檔案
右上: 本地檔案庫檔案
下方: 合併後的檔案
按下Save, 按下Mark as resolved
Developing
Pull
Conflict
Resolve
Commit
Developing
Pull
Conflict
Resolve
Commit
Local Test
Local Test
Push Branch to Remote Repo
GitLab上可以看到此分支
Local Test
Push Branch to Remote Repo
Merge Request
對遠端檔案庫Master提交合併請求
Merge Request
Code Review
Merge to Master
Discussions?
Back to Developing Flow
Yes
No
Online Test
Problem?
Resolve Jira
Back to Developing FLow
Yes
No