0
0

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 1 year has passed since last update.

GitHubのプライベートリポジトリをクローンする際にエラーが出たら

Last updated at Posted at 2021-11-29

#エラー内容

Cloning into 'private-repository'...
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.

パスワード認証のサポートが2021年8月13日に終わったので、代わりにアクセストークンを仕様してくださいという内容でした。

##パスワードをアクセストークに変更して再度挑戦

git clone https://{ユーザー名}:{トークン}@github.com/{ユーザー名}/{リポジトリ名}.git

このようにパスワードからアクセストークンへ仕様が変わったので、アクセストークンをどこかにメモしておくといいかもです。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?