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

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

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

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

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

原文地址:https://www.cnblogs.com/lpp-11-15/p/12713686.html