当前位置:   article > 正文

解决:There is no tracking information for the current branch. Please specify which branch you want to

there is no tracking information for the current branch. please specify whic

报警信息:

There is no tracking information for the current branch.
Please specify which branch you want to rebase against.


原因: 是因为本地的develop分支和远程的develop没有建立关联导致的

解决方法:

git branch --set-upstream-to=origin/远程分支名 本地分支名

即:git branch --set-upstream-to=origin/develop develop

再通过 git branch -vv 确认是否关联成功。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/羊村懒王/article/detail/392509
推荐阅读
相关标签
  

闽ICP备14008679号