git cloning behind proxy — different behavior, same command

流过昼夜 提交于 2019-12-08 04:00:29
VonC

Try setting only environment variable or git config settings.

you can see both approaches set in "Only use a proxy for certain git urls/domains?"

set http_proxy=http://username:password@proxydomain:port
set https_proxy=http://username:password@proxydomain:port

Make sure to not use quotes, and don't forget the no_proxy one:

set no_proxy=localhost,.my.company 
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!