GitHub 设置和取消代理,加速 git clone

GitHub 设置和取消代理,加速 git clone,第1张

GitHub 设置取消代理,加速 git clone

git 设置代理:

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

git 取消代理:

git config --global --unset http.proxy

针对 github.com 设置代理:

git config --global http.https://github.com.proxy http://127.0.0.1:

 取消 github.com 代理:

git config --global --unset http.https://github.com.proxy

注意:设置代理需要科(翻)学(墙)上网,后面的端口号(1080)要和科(翻)(墙)上网 Http代理监听端口号 相同

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/587010.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-12
下一篇 2022-04-12

发表评论

登录后才能评论

评论列表(0条)

保存