Skip to content

How to access git with proxy and vpn in mobile hostspot

to set

bash
git config --global http.proxy http://192.168.43.1:9000

to get

bash
git config --global --get http.proxy

to remove

bash
git config --global --unset http.proxy