1. 程式人生 > >"There is no tracking information for the current branch" 解決方法

"There is no tracking information for the current branch" 解決方法

col pan gin ranch eas code pre 解決方法 git

因為新創建的分支push到遠程倉庫後沒有與本地分支關聯,下面語句可以令遠程分支與本地分支關聯起來

git branch --set-upstream-to=origin/release_3.1.3 release_3.1.3

上面的origin/release_3.1.3是已經推送到遠程的分支

末尾的release_3.1.3是本地分支

"There is no tracking information for the current branch" 解決方法