LoginSignup
0
0

More than 1 year has passed since last update.

GitHubのリポジトリをクローンする際に表示されたエラー

Posted at

はじめに

初めてGitHub上にリポジトリを作成して、ローカルにクローンしようとした際に表示されたエラーです。

エラー文

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/xxx/xxx.git/'

原因

2021年8月13日以降、GitHubへのアクセスは、ユーザ名とパスワードではなく個人用アクセストークンで認証する必要があります。

解決方法

以下の公式ドキュメントを参考に個人用アクセストークンを作成する。
個人用アクセス トークンの作成

0
0
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
0