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

可紊 提交于 2019-12-17 19:55:31

问题


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=@


来源:https://stackoverflow.com/questions/35195589/using-git-on-windows-not-working-when-the-password-contain-symbol

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!