查看是否真的設(shè)置代理,若未設(shè)置代理運(yùn)行取消代理命令一次后方可上傳下載了,本人出現(xiàn)的情況是這樣,記錄下,希望對(duì)其他人有用
git config --global http.proxy? 查詢代理
git config --global --unset http.proxy? 取消代理
git config --global http.proxy http:172.16.13.171:8080 設(shè)置代理
git config --global https.proxy http:172.16.13.171:8080