Using Git on Windows not working when the password

2019-01-19 08:53发布

问题:

I am using following command

git config --global http.proxy http://myusername:mypassword@myproxyserver:8080

Here, mypassword has '@' symbol so it is not working How can I resolve the issue

回答1:

Try and percent encode your special character:

git config --global http.proxy http://myusername:mypa%40ssword@myproxyserver:8080
                                                     ^^^
                                                     %40=@