d:/git>git clone https://git.oschina.net/javaTest/scala-myRPC.gitCloning into 'scala-myRPC'...fatal: unable to access 'https://git.oschina.net/javaTest/scala-myRPC.git/': error setting certificate verify locations: CAfile: D:/soft/git/bin/curl-ca-bundle.crt CApath: nonegit clone 项目地址报错,解决方案:
启动 git-bash
输入 git config --system http.sslcainfo "D:/soft/git/bin/curl-ca-bundle.crt" 或者 git config --system http.sslverify false
查看我本地目录里面没有 *.crt 文件,使用git config --system http.sslverify false
完成后再执行 git clone
d:/git>git clone https://git.oschina.net/javaTest/scala-myRPC.gitCloning into 'scala-myRPC'...remote: Counting objects: 35, done.remote: ComPRessing objects: 100% (23/23), done.remote: Total 35 (delta 7), reused 0 (delta 0)Unpacking objects: 100% (35/35), done.Checking connectivity... done.完成
新闻热点
疑难解答