Github に push すると "Support for password authentication was removed on August 13, 2021. Please use a personal access token instead." と怒られる。
事象
% git push origin master Username for 'https://github.com': yoheia Password for 'https://yoheia@github.com': 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: Authentication failed for 'https://github.com/yoheia/yoheia.git/'
解決策
- 【Git】2021年8月13日からGitでリモートにアクセスができなくなった。Support for password authentication was removed on August 13, 2021. | iOS-Docs の手順に従って、Personal access tokens で認証する