在eclipse上使用插件git向github或者bitbucket同步代码时,有时候会发现出现cannot open git-upload-pack这个问题。

  一般引起这个问题的原因有两个:

    一、网络问题,天朝的网络访问外网总是会出现各种不稳定因素,一般很少。

    二、eclipse中git插件的配置问题。

今天重点说第二点:配置问题。

打开eclipse中的windows-->Preferences-->Team-->Git-->Configuration-->User Settings.然后点Add Entry新建一个键值

对,输入http.sslVerify=false,如图:解决eclipse中git中cannot open git-upload-pack(无法打开Git上传包)问题

解决eclipse中git中cannot open git-upload-pack(无法打开Git上传包)问题

点击OK即可。

注:最好重启一下eclipse。

相关文章:

  • 2021-08-19
  • 2021-07-05
  • 2021-12-01
  • 2021-11-05
  • 2021-07-19
  • 2021-08-12
猜你喜欢
  • 2021-04-18
相关资源
相似解决方案