【发布时间】:2021-09-12 21:49:12
【问题描述】:
今天 GitHub 推出了一种推送、克隆或拉取 repo 的新方法,让我大吃一惊
当我尝试推送我的项目时,我收到以下错误消息:
remote: Password authentication is temporarily disabled as part of a brownout. Please use a personal access token instead.
remote: Please see https://github.blog/2020-07-30-token-authentication-requirements-for-api-and-git-operations/ for more information.
fatal: unable to access 'https://github.com/barimehdi77/Philosophers.git/': The requested URL returned error: 403
经过多次搜索,我发现 GitHub 添加了一个名为 Personal access tokens 的新安全更新,但我可以使用谁?
【问题讨论】:
-
请将文本作为文本发布。不要发布文字图片。
-
请原谅我在这里跳了一点——你考虑过使用 SSH 密钥进行 github auth 吗?
-
你读过他们链接的文章吗?您可以使用令牌。
-
是的,我使用了 SSH 密钥,但我更喜欢,但我不喜欢它,因为我使用多台 PC
-
@JBallin 是的,我读过它并生成了令牌,但我不知道如何重置密码