0
0

More than 3 years have passed since last update.

githubでパスワードアクセスできなくなったときの対処

Last updated at Posted at 2021-08-15

はじめに

2021/8/13よりgithub側の仕様変更でパスワードによるリポジトリへのアクセスができなくなり、トークンアクセスになったのでその対処をまとめる

エラー

remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

対処

1.個人アクセストークンの作成

公式ドキュメントに従い作成

2.リポジトリの登録時に使用

git remote set-url origin https://[個人アクセストークン]@github.com/[リポジトリURLのhttps://github.com/以下]

例: 個人アクセストークンはダミー
git remote set-url origin https://ghp_123456789@github.com/y1255018/esp32-https-ota.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