git设置和取消代理

设置ss
git config --global http.proxy socks5://127.0.0.1:port
git config --global https.proxy socks5://127.0.0.1:port
设置http代理
git config --global http.proxy http://127.0.0.1:port
git config --global https.proxy https://127.0.0.1:port
取消代理
git config --global --unset http.proxy
git config --global --unset https.proxy
转载自:https://www.cnblogs.com/xueweihan/p/7242577.html
版权声明:
作者:东明兄
链接:https://blog.crazyming.com/note/986/
来源:CrazyMing
文章版权归作者所有,未经允许请勿转载。


共有 0 条评论