问题描述

在linux 机器上,拉取远程git 仓库时,会报如下错误信息:

Peer’s Certificate issuer is not recognized.

[centos ~]$ git clone https://git.code.com/web/downloader
Cloning into 'downloader'...
fatal: unable to access 'https://git.code.com/web/downloader': Peer's Certificate issuer is not recognized.

解决方案

尝试执行如下指令

$ git config --global http.sslVerify false

然后重新拉取git 远程仓库,输入远程仓库账号,密码即可。

$ git clone https://git.code.com/web/downloader
Cloning into 'downloader'...
Username for 'https://git.code.com': robbie
Password for 'https://robbie@git.code.com': 
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐