日本時間で8/15 6:00くらいに、自身レポジトリにgit pushしようとしたら
以下のようなエラーが発生しましたので残します。
git push
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: unable to access 'https://github.com/zukaishi/linebot.git/': The requested URL returned error: 403
解決方法
右上のアイコンクリック → 「Settings」→ 「Developer settings」 →「Personal access tokens」の順番でクリック。
その後、「Generate new token」クリックで、トークンを発行。コピーする。
2021/9/14追記
コピーしたtokenをpassword求められる時に貼り付けて完了。
以下の手順はGUIで対応する時の場合だったみたいです。
ローカルで、キーチェーンアクセスから、githubを検索。
github.comをクリックし、パスワードを表示にチェック。ロックを解除すると現在のパスワードが表示される。
先ほどコピーしたトークンを、候補のところに貼り付けて、保存。
これでいつも通りgit pushできました。
参考