Proxy Config for Git

Fri Mar 31 2023

Accessing GitHub becoming harder in less developed country these days, you might need a proxy to do that. Here is how to configure proxy for git.

Please edit ~/.gitconfig and add the following lines:

.gitconfig
|
[http] proxy = socks5://127.0.0.1:1089 [https] proxy = socks5://127.0.0.1:1089