首页 > 其他 > 详细

Git出现There is no tracking information for the current branch提示的解决办法

时间:2019-10-14 15:19:34      阅读:107      评论:0      收藏:0      [点我收藏+]

  参考:https://blog.csdn.net/sinat_36246371/article/details/79738782

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

There is no tracking information for the current branch

  

技术分享图片

 

   对于这种情况有两种解决办法,就比如说要操作master吧,一种是直接指定远程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/minseo/p/11671333.html

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