踩坑紀錄(ㄧ) - Git Flow
要透過sourcetree使用git flow 踩坑紀錄
使用Git flow init
點擊 initialize Repository

可自訂branch default name

初始化前不能有尚未commit的檔案
Git Flow按鈕
對工具列空白處按下右鍵 > 選取 Customize Toolbar

就可以看到 Git Flow的按鈕, 拖曳至上方空白處, 按下結束即可

按下按鈕後就可以看到熟悉的格式了

申請Gitlab Access Tokens
主要原因有很多 sourceTree 有時候會莫名出現Bug 找不到git帳號,就會無法push 、finish branch .. 等等,就發現前幾天還可以用好好的,今天突然就怪怪的,最後我是用Access tokens 解決這問題,這問題就沒再出現過了。
fatal: could not read Username for 'http://xxxx.xxx.xx': Device not configured
Fatal: Could not fetch feature/AddSystemConfig from origin.
自訂token name 自己能辨識就好

設定 Scopes 需求

保存 Access token


更新GitLab Account 連結



這邊不推薦將remote網址前面加上帳號密碼就可以讀取Ex.
https://username:password@gitlab.com
會持續更新遇到的疑難雜症解法😎
Last updated