git使用小问题

向github提交代码时遇到以下问题:

error: SSL certificate problem, verify that the CA cert is OK. Details:

error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/godlovesdog/webp.git/info/refs

解决:

env GIT_SSL_NO_VERIFY=true git push -u origin master

 或添加环境变量:

export GIT_SSL_NO_VERIFY=true

猜你喜欢

转载自godlovesdog.iteye.com/blog/1817842