One minute
GIT behind a Proxy Server
If you are working behind a proxy and would like to run git commands from your remote repositories over the internet, you need to configure git as follows:
$ git config --global http.proxy [proxy_server_url]:[port]
If your proxy requires a username and password the command will be:
$ git config --global http.proxy _http://[username]:[password]@[proxy_server_url]:[port]
Once you set this global parameter, you should be able to use git pull
, git push
or git fetch
from your remote repositories.