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

前端之家收集整理的这篇文章主要介绍了解决 Git: There is no tracking information for the current branch.的问题前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

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

解决方案一

指定远程master

git pull origin master

解决方案二

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

git branch --set-upstream-to=origin/master master
git pull
原文链接:https://www.f2er.com/git/997247.html

猜你在找的Git相关文章