Git 擴展之全局配置

配置代理

設置代理

git config --global http.proxy http://127.0.0.1:8080 
git config --global https.proxy http://127.0.0.1:8080 

取消代理

git config --global --unset http.proxy 
git config --global --unset https.proxy 

查看當前已設置的代理

git config --global --get http.proxy 
git config --global --get https.proxy
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章