以往在学习一些github上的开源项目时,都是直接复制了项目的地址,然后在主机上git clone一下即可,然而最近发现总是报错,报错内容如下:
[root@localhost mnt]$git clone https://github.com/Meituan-Dianping/SQLAdvisor.git Cloning into 'SQLAdvisor'... fatal: unable to access 'https://github.com/Meituan-Dianping/SQLAdvisor.git/': Peer's Certificate has expired.
这个时候解决办法有两种。
[root@localhost mnt]$git clone git://github.com/Meituan-Dianping/SQLAdvisor.git Cloning into 'SQLAdvisor'... remote: Counting objects: 1460, done. remote: Total 1460 (delta 0), reused 0 (delta 0), pack-reused 1460 Receiving objects: 100% (1460/1460), 19.92 MiB | 48.00 KiB/s, done. Resolving deltas: 100% (367/367), done.

扫码订阅本站,第一时间获得更新
微信扫描二维码,订阅我们网站的动态,另外不定时发送WordPress小技巧,你可以随时退订,欢迎订阅哦~