Make git go through proxy

Asked

Viewed 8,430 times

7

I’m setting up my work environment here at the service.

It is windows 7 and has a proxy with user and password.

I want to download a project from my repository on Github and need to go through the proxy.

I’m doing everything for prompt and I arrived at the following command after searching through the net:

git config --global http.proxy http://username:senh@[email protected]:3128

Where senh@nov4 is an example of my password.

the problem is that my password has @ and cannot switch to a password without special characters.

I did several tests with some escape characters and quotation marks but I could not solve this question of @.

1 answer

9


  • It worked perfectly! It is then the command for those who have problem with proxy and the answer to my question. Thanks!

  • 1

    To find the proxy address by Chrome: chrome://net-internals/#proxy

  • When you no longer want to use the proxy: git config --global http.proxy ''

Browser other questions tagged

You are not signed in. Login or sign up in order to post.