在控制台下輸入以下代碼:
D:\GitHub> git clone https://github.com/subying/jsbook.git Cloning into 'jsbook'... fatal: unable to access 'https://github.com/subying/jsbook.git/': SSL certificate problem: unable to get local issuer certificate
提示SSL證書錯誤。後面用谷歌搜索了一下,發現說這個錯誤並不重要是系統證書的問題,系統判斷到這個行為會造成不良影響,所以進行了阻止,只要設置跳過SSL證書驗證就可以了,那麼用下面命令解決:
git config --global http.sslVerify false