質問するログイン新規登録

質問編集履歴

1

情報変更

2021/11/26 05:02

投稿

hono112
hono112

スコア9

title CHANGED
File without changes
body CHANGED
@@ -1,7 +1,7 @@
1
1
  [こちら](https://teratail.com/questions/370621)で質問させていただいた内容ですが、まだ解決できません。
2
2
  回答者さんの言う通り、[こちらの記事](https://qiita.com/unsoluble_sugar/items/14bea376d8e6fce82eb3)を参考にすると、
3
3
  ```
4
- Hi shun3453! You've successfully authenticated, but GitHub does not provide shell access.
4
+ Hi ○○(GitHubのユーザー名)! You've successfully authenticated, but GitHub does not provide shell access.
5
5
  ```
6
6
  となりSSH接続には成功したかと思われます。
7
7
 
@@ -43,13 +43,13 @@
43
43
  [master (root-commit) bdb7244] initial commit
44
44
  1 file changed, 2 insertions(+)
45
45
  create mode 100644 first.txt
46
- ys@mbp intro_git % git remote add origin https://github.com/shun3453/intro_git.git
46
+ ys@mbp intro_git % git remote add origin https://github.com/○○(GitHubのユーザー名)/intro_git.git
47
47
  ys@mbp intro_git % git branch -M main
48
48
  ys@mbp intro_git % git push -u origin main
49
- Username for 'https://github.com': shun3453
49
+ Username for 'https://github.com': ○○(GitHubのユーザー名)
50
- Password for 'https://shun3453@github.com':
50
+ Password for 'https://○○(GitHubのユーザー名)@github.com':
51
51
  remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
52
52
  remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
53
- fatal: Authentication failed for 'https://github.com/shun3453/intro_git.git/'
53
+ fatal: Authentication failed for 'https://github.com/○○(GitHubのユーザー名)/intro_git.git/'
54
54
  ```
55
55
  となり、やはり最後でエラーになります。何が原因かわかるでしょうか?