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