LoginSignup
0
0

Githubのpushに失敗した場合!!

Posted at

mac default dir/gitfld/% git push -u origin main
Username for 'https://github.com': username入力
Password for 'https://username@github.com':password入力
以下のエラー発生!!
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/shinsaku-jazzbass/youtube-git2.git/'

githubサイトにてsettingよりDeveloper Settings→Personal access token→Token(classic)選択し
Genarate new tokenにて生成し、tokenをコピーし再度ターミナルにてpushしてpasswordにtokenをペースト。
pushされます。

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