码迷,mamicode.com
首页 > 其他好文 > 详细

git配置代理命令

时间:2017-05-11 13:32:39      阅读:171      评论:0      收藏:0      [点我收藏+]

标签:删除   comm   oba   keyword   word   global   查看   key   string   

// 查看当前代理设置

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配置代理命令

标签:删除   comm   oba   keyword   word   global   查看   key   string   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!