Github:git克隆源码不成功:remote: Support for password authentication was removed on August 13, 2021.

Posted LQS_Android

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Github:git克隆源码不成功:remote: Support for password authentication was removed on August 13, 2021.相关的知识,希望对你有一定的参考价值。

克隆仓库上的代码进行用户名、密码验证时报错:

remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.

fatal: Authentication failed for 'https://github.com/lushuai8908/BigBookshelf.git/'

 原因是这种验证方式已经废弃了,请使用Token验证方式,具体参考下面这篇文章。

参考下面这篇文章,创建Token,在验证完用户名后,输入验证你的密码时(不要输你的密码),粘贴上你创建的Token后,即可成功克隆仓库上的源码到本地。

github开发人员在七夕搞事情:remote: Support for password authentication was removed on August 13, 2021._点亮~黑夜的博客-CSDN博客_github开发人员在七夕搞事情

以上是关于Github:git克隆源码不成功:remote: Support for password authentication was removed on August 13, 2021.的主要内容,如果未能解决你的问题,请参考以下文章

GitHub:克隆成功,但结帐失败

git相关项目迁移

使用ssh连接Git仓库(Github)

VScode卸载重装后GitLab克隆报错问题

GIT常见问题及其解决方案

解决Git 克隆代码 The remote end hung up unexpectedly错误