0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

GitHubにSupport for password authentication was removed on August 13 2021.でPushできなくなった時の対処法

Posted at

はじめに

GitHubでPushしようとした時に以下のエラーが発生しました。

Pushing to https://github.com/Moto0124/Calculator.git
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/Moto 124/Calculator.git/': The requested URL returned error: 403}

最初はアカウントのパスワードが間違っているのかなと思っていたのですが、ログを見るとそうではなかったらしく
どうやらGitHubはGit操作の認証時にアカウントパスワードを受け付けなくなり、代わりにPAT(パーソナルアクセストークン)を使用する方法に変わりました。

解決方法としては以下のドキュメント通りに操作を行えば解決できます。

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?