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

git代理设置方法

时间:2016-04-07 20:53:27      阅读:379      评论:0      收藏:0      [点我收藏+]

标签:

客户公司办公,上外网需要代理,临时查一下资料,记录一下:

1.设置代理:

git config --global http.proxy http://IP:Port

2.代理设置完成后,查看设置是否生效:

git config -–get -–global http.proxy

3.删除代理设置

git config --global --unset http.proxy

 

git代理设置方法

标签:

原文地址:http://www.cnblogs.com/sonnychen/p/5365083.html

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