Github密码有@:无法解决主机错误

dev*_*tor 1 git github

我的github密码包括@字符.在进行git clone时,我收到一条错误消息,could not resolve host: my@github.com考虑到我的密码是"pass @ my".使用反斜杠也会出现相同的错误.

我在打字:

git clone myusername:pass@my@github.com/myusername/myrepo.git D:/myworkspace
Run Code Online (Sandbox Code Playgroud)

怎么解决这个?

bfo*_*ine 5

尝试对其进行URL编码: pass%40my