The git clone command is used to pull the latest code from a GIT repository. But using it through a proxy can be annoying. Here is how to do this.
Firstly; define your HTTP proxy information.
export HTTP_PROXY="http://Monty.Burns:[email protected]:80" |
Then you need to tell GIT about the proxy.
git config --global http.proxy $HTTP_PROXY |
Then you may use the GIT command and this will complete successfully.
git clone https://github.com/john302/sysinfo.git |