git pull 报错 There is no tracking information for the current branch.

Posted on 2020-04-16 16:23  嗷呜~  阅读(579)  评论(0)    收藏  举报

git pull 时 报错:There is no tracking information for the current branch.

意思是 当前 banch 没有跟踪信息。

当前 分支 没有和远程分支关联,将当前分支和远程分支关联即可。

git branch --set-upstream-to=origin/remote_branch your_branch