Skip to content

Instantly share code, notes, and snippets.

git config --global http.proxy 'socks5://127.0.0.1:1086'
# set only for github.com
git config --global http.https://github.com.proxy 'socks5://127.0.0.1:1086'
git config --global --unset http.https://github.com.proxy
#unset
git config --global --unset http.proxy