はじめに
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