首页 > 其他 > 详细

git配置代理命令

时间:2017-05-11 13:19:04      阅读:302      评论:0      收藏:0      [点我收藏+]

// 查看当前代理设置

git config --global http.proxy git config --global https.proxy

// 设置当前代理为 http://127.0.0.1:1080 或 socket5://127.0.0.1:1080

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

git config --global https.proxy ‘http://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‘ /

/ 删除 proxy git config --global --unset http.proxy

git config --global --unset https.proxy

git配置代理命令

原文:http://www.cnblogs.com/gx1069/p/6840413.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!