Git Using Proxy to Bypass GFW

1 minute read

Fuck GFW

Usage( Credit )

git config --global http.proxy http://proxyUsername:proxyPassword@proxy.server.com:port

For example proxy via local SS or V2Ray client

git config --global http.proxy http://127.0.0.1:1087

Or git config --global --edit

[http]
	proxy = http://127.0.0.1:1087
[https]
	proxy = https://127.0.0.1:1087

Leave a Comment