无法推送到 Github 上的源主(截至 6 月 30 日)

  • 本文关键字:截至 Github github
  • 更新时间 :
  • 英文 :


我想推到origin main,所以我做了:

git init
git fetch
git add .
git commit -m "commit name"
git push origin main

当我尝试推送到原始main时,我收到以下消息。我知道这与API请求、褐色输出以及使用身份验证密钥而不是指向main的链接有关,但我不明白这是如何工作的。有人知道怎么推吗?

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/myusername/mygit.git': The requested URL returned error: 403

这是标准github身份验证的计划(临时(耗尽。https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/#june-2021年30日它将在半小时后结束,但将在8月份成为一个永久性的变化。

最新更新