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

質問編集履歴

3

情報変更

2021/11/26 05:03

投稿

hono112
hono112

スコア9

title CHANGED
File without changes
body CHANGED
@@ -3,7 +3,7 @@
3
3
  こちら(https://www.udemy.com/course/intro_git/learn/lecture/6449718#overview)のUdemyの動画を参考に、githubでintro_gitというリポジトリを作成しました。githubの「…or push an existing repository from the command line」という箇所の指示に従い、Macのターミナル上で以下のコマンドを入力しました。
4
4
 
5
5
  ```
6
- git remote add origin https://github.com/shun3453/intro_git.git
6
+ git remote add origin https://github.com/○○(GitHubのユーザー名)/intro_git.git
7
7
  git branch -M main
8
8
  git push -u origin main
9
9
  ```
@@ -11,16 +11,16 @@
11
11
  すると、以下のようになりました。
12
12
 
13
13
  ```
14
- Username for 'https://github.com': shun3453
14
+ Username for 'https://github.com': ○○(GitHubのユーザー名)
15
- Password for 'https://shun3453@github.com':
15
+ Password for 'https://○○(GitHubのユーザー名)@github.com':
16
16
  ```
17
17
 
18
- Password for 'https://shun3453@github.com': のあとに鍵のマークが表示され、キーボードで入力してもターミナル上には反映されないので、とりあえずパスワードを入れると以下のエラー文がでました。
18
+ Password for 'https://○○(GitHubのユーザー名)@github.com': のあとに鍵のマークが表示され、キーボードで入力してもターミナル上には反映されないので、とりあえずパスワードを入れると以下のエラー文がでました。
19
19
 
20
20
  ```
21
21
  remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
22
22
  remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
23
- fatal: Authentication failed for 'https://github.com/shun3453/intro_git.git/'
23
+ fatal: Authentication failed for 'https://github.com/○○(GitHubのユーザー名)/intro_git.git/'
24
24
  ```
25
25
 
26
26
  何度やり直してもこのエラーになります。解決方法を教えていただきたいです。よろしくお願いいたします。git init、git add 及び git commit は入力済みです。

2

情報の追加

2021/11/26 05:03

投稿

hono112
hono112

スコア9

title CHANGED
File without changes
body CHANGED
@@ -23,4 +23,4 @@
23
23
  fatal: Authentication failed for 'https://github.com/shun3453/intro_git.git/'
24
24
  ```
25
25
 
26
- 何度やり直してもこのエラーになります。解決方法を教えていただきたいです。よろしくお願いいたします。
26
+ 何度やり直してもこのエラーになります。解決方法を教えていただきたいです。よろしくお願いいたします。git init、git add 及び git commit は入力済みです。

1

タグの追加

2021/11/23 06:07

投稿

hono112
hono112

スコア9

title CHANGED
File without changes
body CHANGED
File without changes