Posted: . At: 10:16 AM. This was 10 years ago. Post ID: 6477
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.

how to use the git clone command through a http proxy.

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

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.