天天看点

idea项目不能提交到gitee 问题

场景:不管往gitee更新项目还是提交项目,都提示拒绝连接或者拒绝合并

方案:建立项目的连接,在工程里面需要先和gitee上的仓库进行合并,push才能成功

输入代码:git pull origin master --allow-unrelated-histories
idea项目不能提交到gitee 问题

之后在右键点击你的项目:在push一遍

idea项目不能提交到gitee 问题

成功,很nice~~~