idea git Update failed unable to access 'https://github.com/tiankonglanlande/springboot.git/'

猿份哥 4月前 ⋅ 121 阅读

Update failed             unable to access 'https://github.com/tiankonglanlande/springboot.git/': error setting certificate verify locations:             CAfile: F:/tools/solftware/Git/mingw32/libexec/ssl/certs/ca-bundle.crt             CApath: none

1.参照网上的l方法可以更新:

  • idea--->vcs-->git-->Romotes-->url  

  • 将远程地址:修改为:git://github.com/tiankonglanlande/springboot.git/

2.但是PUSH失败:

Push failed Remote error: You can't push to git://github.com/tiankonglanlande/springboot.git Use https://github.com/tiankonglanlande/springboot.git

3.又将url修改https,push的时候又报第一个错误

  • 找到我的证书位置(不知道可以全局搜索ca-bundle.crt) F:\tools\solftware\Git\mingw32\ssl\certs\ca-bundle.crt
  • 将我的证书复制到 F:/tools/solftware/Git/mingw32/libexec/ssl/certs/ca-bundle.crt

重新update,push,commit都能成功了


全部评论: 0

    我有话说: