美文网首页
Git(1.7.1) clone 401 Unauthorize

Git(1.7.1) clone 401 Unauthorize

作者: 师娘哪里去了 | 来源:发表于2020-02-10 12:20 被阅读0次

多发生在版本低时,检测版本:

[root@iZm5e2he0vxbiecgd2eddmZ htdocs]# git --version
git version 1.7.1

可以直接在地址中添加

git clone https://username:password@xxx.com/test.git
#注意:用户名密码中一定要转义 @符号转码后变成了%40

如果想隐掉密码,则:

git clone https://username@xxx.com/test.git

相关文章

网友评论

      本文标题:Git(1.7.1) clone 401 Unauthorize

      本文链接:https://www.haomeiwen.com/subject/zelaxhtx.html