zl程序教程

您现在的位置是:首页 >  工具

当前栏目

解决 Git: There is no tracking information for the current branch.的问题

Git 解决 for The is No Current information
2023-09-27 14:21:58 时间

在执行git pull的时候,提示当前branch没有跟踪信息:

解决方案一

指定远程master

git pull origin master

解决方案二

先指定本地master到远程的master,然后再去pull

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