赞
踩
使用git bash运行下面代码即可
查看代理:
git config --global --get http.proxy
git config --global --get https.proxy
取消代理:
git config --global --unset http.proxy
git config --global --unset https.proxy
设置单个库代理:
git config http.proxy "127.0.0.1:1080"
git config https.proxy "127.0.0.1:1080"
取消单个库代理:
git config --unset http.proxy
git config --unset https.proxy
设置全局代理:
git config --global http.proxy "127.0.0.1:1080"
git config --global https.proxy 127.0.0.1:7890
取消全局代理:
git config --global --unset http.proxy
git config --global --unset https.proxy
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。