Introduce something about git set proxy and remove it

git set proxy and remove it

This article was original written by Jin Tian, welcome re-post, but please keep this copyright info, thanks, any question could be asked via wechat: jintianiloveu

Git set proxy

sometime we using shadowsocks to break wall, but the git still can not go through that channel. we can set proxy like this:

1
git config --global https.proxy socks5://127.0.0.1:1080

Git remove proxy

But if you want remove it, simple do this:

1
git config --global --unset https.proxy