一、簡介
1、source tree 是什麼
可視化項目版本控制軟體,使用git項目管理,支援windows/mac
用戶端使用source tree開發源碼,圖形化送出到gitlab
二、使用source tree開發送出到gitlab
1、克隆代碼
需要填寫ssh位址或http位址
本地路徑
類型會自動識别
識别失敗會顯示這不是一個标準的git倉庫,可能的原因有
位址錯誤
通路權限
gitlab之source tree使用方法 2、克隆完成後,得到了master源碼
如果想擷取最新的源碼,需要對項目初始化,可以點選工作流
gitlab之source tree使用方法 3、建立一個分支
gitlab之source tree使用方法 4、開發代碼
gitlab之source tree使用方法
gitlab之source tree使用方法 勾選自動到緩存區
gitlab之source tree使用方法 送出到本地倉庫
gitlab之source tree使用方法
添加close注釋
gitlab之source tree使用方法 修改預設使用者
gitlab之source tree使用方法 可以進行復原
gitlab之source tree使用方法 4、推送分支到gitlab
gitlab之source tree使用方法
gitlab之source tree使用方法 三、gitlab 進行merge操作及打标簽上線
1、合并(merge)
gitlab之source tree使用方法 登陸gitlab建立merge合并到主幹
可以看到分支了
gitlab之source tree使用方法 多個分支可以繼續merge
gitlab之source tree使用方法
gitlab之source tree使用方法 全部合并完成
gitlab之source tree使用方法 2、開發完成後上線打标簽
gitlab之source tree使用方法
gitlab之source tree使用方法 開發完成都已經合并到主幹上了,分支可以删除了
gitlab之source tree使用方法
gitlab之source tree使用方法 轉載請注明出處:https://www.cnblogs.com/zhangxingeng/p/10882849.html