Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
372 views
in Technique[技术] by (71.8m points)

proxy - Using Git on Windows not working when the password contain '@' Symbol

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Try and percent encode your special character:

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...