Your configuration specifies to merge with the ref 'refs/heads/v.autoCheckProduct.20190325' from the remote, but no such ref was fetched.

 问题:

  创建新的分支,当我们执行git pull,出现如下错误

解决办法:

1.切换到主分支(或者被依赖的分支,也就是你从哪个分支上拉取新的分支),博主这里是master分支

2.执行以下两个命令

3.切换到我们新的分支,然后会有提示

4.执行提示的命令

5.

 

6。执行

git branch --set-upstream-to=origin/master 新的分支

.

7.完成

posted @ 2019-03-26 17:04  明日中午  阅读(28808)  评论(0编辑  收藏  举报