在密码中包含'@'符号时,在Windows上使用Git不起作用 [英] Using Git on Windows not working when the password contain '@' Symbol
本文介绍了在密码中包含'@'符号时,在Windows上使用Git不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用以下命令:
git config --global http.proxy http:// myusername:mypassword @ myproxyserver: 8080
这里mypassword有'@'
符号,所以它不能正常工作
如何解决问题
^^^
%40 = @
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
解决方案
Try and percent encode your special character:
git config --global http.proxy http://myusername:mypa%40ssword@myproxyserver:8080
^^^
%40=@
这篇关于在密码中包含'@'符号时,在Windows上使用Git不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文