解决问题--MyEclipse git上传时出现 github cannot open git-upload-pack(git-receive-pack)问题时解决方案

第一步

解决:

   Window->preference->Team->Git->configuration->user setting

   看看你的username和useremail设置的正确吗?

第二步

在myeclipse安装目录找到myeclipse.ini文件,在末尾上添加
-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2

这里写图片描述
这里写图片描述

第三步、

    打开 Window->preference->Team->Git->configuration->user setting
    设置key为http.sslVerify,值为false,

这里写图片描述
设置到这里,你先要去先fetch,然后merge。然后再上传就可以了。

我参考的博客地址是

https://blog.csdn.net/jiguangcanhen/article/details/43233971

https://blog.csdn.net/Royal__Moon/article/details/79427431 这篇介绍的比较详细,我的问题就是根据这个人的博客上面
说的解决的。

猜你喜欢

转载自blog.csdn.net/leeue/article/details/80263462