there is no tracking information for the current branch ...git本地分支如何跟远程分支关联

git branch --set-upstream-to=origin/<远程分支> <本地分支>

 

如:

git branch --set-upstream-to=origin/master master

  其中: origin/master 是远程分支的名字

      master是本地分支名字

posted @ 2023-07-13 10:13  tslam  阅读(4)  评论(0编辑  收藏  举报