git clone http://username:password@remote
eg: username: abc@qq.com, pwd: test, git地址为git@xxx.com/test.git
git clone http://abc%40qq.com:test@git@xxx.com/test.git
注意:用户名密码中一定要转义 @符号转码后变成了%40
本文共 238 字,大约阅读时间需要 1 分钟。
git clone http://username:password@remote
eg: username: abc@qq.com, pwd: test, git地址为git@xxx.com/test.git
git clone http://abc%40qq.com:test@git@xxx.com/test.git
注意:用户名密码中一定要转义 @符号转码后变成了%40
转载于:https://www.cnblogs.com/hshy/p/11491643.html