当克隆时报如上错误:
原因:git 下载的地址发生改变,注册表 git-bash.exe路径信息 没有修改,配置信息还是之前的信息
CAfile报错解决方法:根据报错信息找到正确的路径下的ca-bundle.crt文件路径
CAfile: G:/Vue/Git/mingw64/ssl/certs/ca-bundle.crt CApath: none
以上是之前的路径,根据之前的路径mingw64/ssl/certs/ca-bundle.crt找到现在正确的路径打开git-bash
输入
$git config --system http.sslcainfo "<正确路径>\certs\ca-bundle.crt"
右击git bash/GUI 找不到应用程序原因同上
解决方法:
① win+R 输入regedit 调用注册表编辑器
②找到以下路径
将git_gui、git_gui\command、git_shell、git_shell\command 的信息修改
点击默认----数值数据(修改为正确的路径)