2000字范文,分享全网优秀范文,学习好帮手!
2000字范文 > git pull 报错Your configuration specifies to merge with the XXX from the remote but no such ref was..

git pull 报错Your configuration specifies to merge with the XXX from the remote but no such ref was..

时间:2020-10-11 06:46:41

相关推荐

git pull 报错Your configuration specifies to merge with the XXX from the remote  but no such ref was..

翻译过来的大致意思是:

你的配置指定与ref 'XXX’合并 从远程,但没有这样的引用。

打开.git文件夹

打开config文件

[branch "master"]remote = originmerge = refs/heads/XXX

上诉XXX应该和 branch后面的分支名称保持一致。如果不一致就会报错,更改之后,git pull就成功了。

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。