Git语言笔记
设置http代理
bash
git config --global http.proxy http://127.0.0.1:10808
git config --global https.proxy http://127.0.0.1:10808设置Socks5代理
bash
git config --global http.proxy socks5://127.0.0.1:10808
git config --global https.proxy socks5://127.0.0.1:10808验证代理
bash
git config --global --get http.proxy
git config --global --get https.proxy取消代理
bash
git config --global --unset http.proxy
git config --global --unset https.proxy