本地开启VPN后,GIt也需要设置代理,才能正常略过GFW,访问goole code等网站
设置如下(可复制):
git config --global https.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'
取消
git config --global --unset http.proxy
git config --global --unset https.proxy
作者:老衲不出家
来源:CSDN
原文:https://blog.csdn.net/tanningzhong/article/details/52817399
版权声明:本文为博主原创文章,转载请附上博文链接!
转载于:https://www.cnblogs.com/Dennis-mi/articles/9820969.html
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)