【问题标题】:the August 13, 2021 change2021 年 8 月 13 日的变更
【发布时间】:2022-08-16 04:33:55
【问题描述】:

当我尝试(git clone https://github.com ....)时,他们会询问我的用户名和密码,然后显示:

remote:2021 年 8 月 13 日删除了对密码身份验证的支持。 远程:有关当前推荐的身份验证模式的信息,请参阅https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls 致命:\'https://github.com/thelinuxchoice/blackeye/\'的身份验证失败

我试图更改密码和一切,但它总是一样的,请帮助:(

  • 按照使用 ssh 连接到 github 的说明进行操作,您引用的页面上有一个链接。如果您所做的只是更改密码,那么您没有按照说明进行操作!
  • 您是否尝试阅读有关您发布的网址的信息?

标签: github


【解决方案1】:

密码的诀窍是一个小丑陷阱。实际上,向您询问的密码不是密码,而是令牌。它是在开发人员设置中生成的。事实上,这篇文章提供了您需要的答案的链接。如果这里有什么https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token "$ git 克隆https://github.com/username/repo.git 用户名:your_username 密码:your_token”

【讨论】:

    猜你喜欢
    • 2021-10-19
    • 2021-10-03
    • 1970-01-01
    • 2021-11-05
    • 1970-01-01
    • 2013-10-25
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多