現象:
拉取github倉庫報錯如下:
Git Pull Failed: unable to access 'https://github.com/*.git/': Proxy CONNECT aborted
解決措施:
git config --global http.proxy http://127.0.0.1:1234
git config --global https.proxy http://127.0.0.1:1234
設置時不要設置密碼,https下密碼認證不通過。
在git shell下使用
GIT_CURL_VERBOSE=1 GIT_TRACE=1 git clone https://github.com/**.git
可以看到具體日志