github一般需要科學(xué)上網(wǎng)儒搭,通過SourceTree通過URL克隆,會(huì)提示無效URL或者SLL Timeout之類嘹朗,如果電腦開啟了VPN师妙,在系統(tǒng)設(shè)置-網(wǎng)絡(luò)-DNS查看代理端口,如:127.0.0.1:7890
手動(dòng)配置git代理
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890
擴(kuò)展信息-取消代理:
git config --global --unset http.proxy?
git config --global --unset https.proxy?