git clone https://....git
報錯,說證書校驗有問題:windows
error: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
bash
最簡單的解決方法是加一個環境變量:spa
Linux下:code
export GIT_SSL_NO_VERIFY=1
windows下:server
set GIT_SSL_NO_VERIFY 1
git 也要設置一下:ssl
git config --global http.sslVerify false