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

原文鏈接 https://www.lskyf.com/post/77

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都能成功了

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章