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

質問編集履歴

4

エラーの追加

2021/04/15 10:54

投稿

nnnnnnn-kkkkkk
nnnnnnn-kkkkkk

スコア39

title CHANGED
File without changes
body CHANGED
@@ -17,4 +17,9 @@
17
17
  > origin git@github.com:~~~~(fetch)
18
18
  origin git@github.com:~~~~(push)
19
19
 
20
- ここでもう一度pushしてみましたが成功しませんでした。
20
+ ここでもう一度pushしてみましたが成功しませんでした。
21
+ 以下はそのエラーです。
22
+ > git@github.com: Permission denied (publickey).
23
+ fatal: Could not read from remote repository.
24
+ Please make sure you have the correct access rights
25
+ and the repository exists.

3

追記

2021/04/15 10:54

投稿

nnnnnnn-kkkkkk
nnnnnnn-kkkkkk

スコア39

title CHANGED
File without changes
body CHANGED
@@ -8,4 +8,13 @@
8
8
  Please make sure you have the correct access rights
9
9
  and the repository exists.
10
10
 
11
- 対処法が全く分かりません。どうすればこの状態に対処できるのでしょうか。当方はWindowsです。
11
+ 対処法が全く分かりません。どうすればこの状態に対処できるのでしょうか。当方はWindowsです。
12
+
13
+ 追記:
14
+ 以下のコマンド
15
+ > λ git remote add origin git@github.com:~~~~
16
+ を実行したところ、表示されました。
17
+ > origin git@github.com:~~~~(fetch)
18
+ origin git@github.com:~~~~(push)
19
+
20
+ ここでもう一度pushしてみましたが成功しませんでした。

2

説明を修正

2021/04/15 10:08

投稿

nnnnnnn-kkkkkk
nnnnnnn-kkkkkk

スコア39

title CHANGED
File without changes
body CHANGED
@@ -1,7 +1,9 @@
1
- githubを勉強しだしたのですが、pushできないと言われました。
1
+ githubを勉強しだしたのですが、pushできないと言われました。コマンドは以下の通りです。
2
+ > 引用テキスト
2
- >git push --set-upstream origin master
3
+ git push --set-upstream origin master
3
4
 
5
+ 以下がエラーです
4
- >fatal: 'origin' does not appear to be a git repository
6
+ > 引用テキストfatal: 'origin' does not appear to be a git repository
5
7
  fatal: Could not read from remote repository.
6
8
  Please make sure you have the correct access rights
7
9
  and the repository exists.

1

コマンドとエラーが同じ枠に表示されてわかりずらかったので修正

2021/04/15 09:49

投稿

nnnnnnn-kkkkkk
nnnnnnn-kkkkkk

スコア39

title CHANGED
File without changes
body CHANGED
@@ -1,7 +1,7 @@
1
1
  githubを勉強しだしたのですが、pushできないと言われました。
2
+ >git push --set-upstream origin master
2
3
 
3
- > λ git push --set-upstream origin master
4
- fatal: 'origin' does not appear to be a git repository
4
+ >fatal: 'origin' does not appear to be a git repository
5
5
  fatal: Could not read from remote repository.
6
6
  Please make sure you have the correct access rights
7
7
  and the repository exists.