Git更新代码时报错,unable to access ‘https://gitlab..git/‘: SSL certificate problem: certificate has expired

更新代码的时候突然报错,对比了一下同事的项目更新代码都没问题
SSL certificate problem: certificate has expired
意思是证书过期了,解决方法是:
打开 git bash
git config –global http.sslVerify false

你可能感兴趣的:(Git更新代码时报错,unable to access ‘https://gitlab..git/‘: SSL certificate problem: certificate has expired)