First, you need to know your http proxy server. You probably have $http_proxy environmental variable in bash. Using this, you can specify the http proxy to git. It’s simple.
git config --global http.proxy $http_proxy
That’s it.
First, you need to know your http proxy server. You probably have $http_proxy environmental variable in bash. Using this, you can specify the http proxy to git. It’s simple.
git config --global http.proxy $http_proxy
That’s it.