首页 > 其他 > 详细

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

时间:2021-02-10 12:59:16      阅读:39      评论:0      收藏:0      [点我收藏+]

在执行git pull的时候,提示当前branch没有跟踪信息:
技术分享图片

解决方案一

指定远程master

git pull origin master

解决方案二

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

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

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

原文:https://www.cnblogs.com/jichi/p/14395175.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!