在git代理密码中转义@字符 [英] Escape @ character in git proxy password
本文介绍了在git代理密码中转义@字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的 git 代理配置为 'http.proxy=http://userId:pwd@123@ipaddress:port' 但在克隆远程项目时,我收到错误 >
I have git proxy config as 'http.proxy=http://userId:pwd@123@ipaddress:port' but while cloning a remote project, I'm getting error as
Cloning into git...
error: Couldn't resolve proxy '123@ipaddress' while accessing http://git.kernel.org/pub/scm/git/git.git/info/refs
fatal: HTTP request failed
如何转义密码中的@"字符?
How to escape the '@' character in password?
请注意:我无法更改密码.
Pls note: I cannot change the password.
推荐答案
如果您在代理网址:
http.proxy=http://userId:pwd%40123@ipaddress:port
这篇关于在git代理密码中转义@字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文