【发布时间】:2020-07-04 16:32:59
【问题描述】:
我想通过添加用户名和密码来克隆 git 存储库,如下所示:
https://myUserName:myPassWord@myGitRepositoryAddress/myAuthentificationName/myRepository.git
但我的密码包含@(如123@asd),这会导致 git 存储库 url 出现问题,我收到如下错误:
https://123@myGitRepositoryAddress/myAuthentificationName/myRepository.git
首先将@ 视为分隔符。
【问题讨论】:
-
这能回答你的问题吗? Can I use an at symbol (@) inside URLs?
标签: git command-line