当前位置:   article > 正文

git本地分支混乱之后怎么重新绑定远程分支_your configuration specifies to merge with the ref

your configuration specifies to merge with the ref 'master' from the remote,

git本地分支混乱之后怎么重新绑定远程分支

报错提示:
C:\D\workspace\ad-push-rtb-api>git pull
Your configuration specifies to merge with the ref ‘refs/heads/master’
from the remote, but no such ref was fetched.

C:\D\workspace\ad-push-rtb-api>git status
On branch master
Your branch is based on ‘origin/master’, but the upstream is gone.
(use “git branch --unset-upstream” to fixup)

C:\D\workspace\ad-push-rtb-api>git branch -D master
Deleted branch master (was 4c223a6).

C:\D\workspace\ad-push-rtb-api>git checkout master
error: pathspec ‘master’ did not match any file(s) known to git

C:\D\workspace\ad-push-rtb-api>git checkout master
error: pathspec ‘master’ did not match any file(s) known to git

在这里插入图片描述

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

闽ICP备14008679号