当密码包含“@"符号时,在 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 有 '@'
符号,所以它不起作用我该如何解决这个问题
Here, mypassword has '@'
symbol so it is not working
How can I resolve the issue
推荐答案
尝试百分比编码 你的特殊字符:
git config --global http.proxy http://myusername:mypa%40ssword@myproxyserver:8080
^^^
%40=@
这篇关于当密码包含“@"符号时,在 Windows 上使用 Git 不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文