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.完成

猜你喜欢

转载自www.cnblogs.com/zzh-blog/p/10601348.html
ref