赞
踩
在push的时候报错:error: failed to push some refs to ‘github.smec-cn.com:u3794/circulate-remind-service.git’
大致意思是当前仓库与远程仓库冲突,远程仓库的部分东西本地仓库没有,例如远程仓库有readme.md文档本地没有就会报错。
解决方法:git pull origin master --allow-unrelated-histories
然后就可以正常push了!
记录解决思路如下:
解决思路来自:https://blog.csdn.net/m0_51715325/article/details/121789720
在进行pull之后,报错:fatal: refusing to merge unrelated histories
解决思路来自:https://blog.csdn.net/qq_41287158/article/details/120461485
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。