git clone 使用用户名和密码

Posted daysme

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git clone 使用用户名和密码相关的知识,希望对你有一定的参考价值。

git clone http://用户名:密码@仓库

示例:

用户名: [email protected]
密码: xw
仓库: http://git.test.com/abc/demo
注意: 用户名中的 @ 要使用 %40 代替。仓库 URL 不需要 http:// 。

命令:

git clone http://xw%40qq.com:[email protected]/abc/demo
?

以上是关于git clone 使用用户名和密码的主要内容,如果未能解决你的问题,请参考以下文章