git pull时出现这个报错,如下:
unable to access 'https:/xxxxxxx.git/': SSL certificate problem: certificate has expired
在这里插入图片描述
后来尝试直接clone项目也出现了这个问题


百度之后看到有的可以通过git config –-global http.sslVerify false命令解决,但是我的报错:
在这里插入图片描述
我的解决方案如下:

  1. 配置
    git config --global user.name [username]
    git config --global user.email [email]
  2. 重新输入
    git config –-global http.sslVerify false
  3. git pull
    成功
Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐