質問編集履歴
8
追記5について
test
CHANGED
File without changes
|
test
CHANGED
@@ -143,3 +143,137 @@
|
|
143
143
|
![イメージ説明](7f262fc399a3d0b463e2a521060fc42d.png)
|
144
144
|
|
145
145
|
![イメージ説明](db9d2722556c36f81ae4611979301fb9.png)
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
追記5
|
150
|
+
|
151
|
+
```ここに言語を入力
|
152
|
+
|
153
|
+
コード
|
154
|
+
|
155
|
+
$ git remote add origin https://@github.com/Masanarea/lara.git
|
156
|
+
|
157
|
+
usage: git remote add [<options>] <name> <url>
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
-f, --fetch fetch the remote branches
|
162
|
+
|
163
|
+
--tags import all tags and associated objects when fetching
|
164
|
+
|
165
|
+
or do not fetch any tag at all (--no-tags)
|
166
|
+
|
167
|
+
-t, --track <branch> branch(es) to track
|
168
|
+
|
169
|
+
-m, --master <branch>
|
170
|
+
|
171
|
+
master branch
|
172
|
+
|
173
|
+
--mirror[=(push|fetch)]
|
174
|
+
|
175
|
+
set up remote as a mirror to push to or fetch from
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
MasaakinoMacBook-Air:checkmate masa$ git remote add origin 'https://Masanarea:<トークン>@github.com/Masanarea/lara.git'
|
180
|
+
|
181
|
+
usage: git remote add [<options>] <name> <url>
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
-f, --fetch fetch the remote branches
|
186
|
+
|
187
|
+
--tags import all tags and associated objects when fetching
|
188
|
+
|
189
|
+
or do not fetch any tag at all (--no-tags)
|
190
|
+
|
191
|
+
-t, --track <branch> branch(es) to track
|
192
|
+
|
193
|
+
-m, --master <branch>
|
194
|
+
|
195
|
+
master branch
|
196
|
+
|
197
|
+
--mirror[=(push|fetch)]
|
198
|
+
|
199
|
+
set up remote as a mirror to push to or fetch from
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
MasaakinoMacBook-Air:checkmate masa$ git remote add origin 'https://Masanarea:<トークン>@github.com/Masanarea/lara.git'
|
204
|
+
|
205
|
+
usage: git remote add [<options>] <name> <url>
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
-f, --fetch fetch the remote branches
|
210
|
+
|
211
|
+
--tags import all tags and associated objects when fetching
|
212
|
+
|
213
|
+
or do not fetch any tag at all (--no-tags)
|
214
|
+
|
215
|
+
-t, --track <branch> branch(es) to track
|
216
|
+
|
217
|
+
-m, --master <branch>
|
218
|
+
|
219
|
+
master branch
|
220
|
+
|
221
|
+
--mirror[=(push|fetch)]
|
222
|
+
|
223
|
+
set up remote as a mirror to push to or fetch from
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
MasaakinoMacBook-Air:checkmate masa$ git remote -v
|
228
|
+
|
229
|
+
MasaakinoMacBook-Air:checkmate masa$ git remote
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
//git remote addをgit remote set-urlにした場合の挙動
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
$ git remote set-url origin https://Masanarea:<トークン>@github.com/Masanarea/lara.git
|
238
|
+
|
239
|
+
usage: git remote set-url [--push] <name> <newurl> [<oldurl>]
|
240
|
+
|
241
|
+
or: git remote set-url --add <name> <newurl>
|
242
|
+
|
243
|
+
or: git remote set-url --delete <name> <url>
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
--push manipulate push URLs
|
248
|
+
|
249
|
+
--add add URL
|
250
|
+
|
251
|
+
--delete delete URLs
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
MasaakinoMacBook-Air:checkmate masa$ git push -u origin master
|
256
|
+
|
257
|
+
fatal: 'origin' does not appear to be a git repository
|
258
|
+
|
259
|
+
fatal: Could not read from remote repository.
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
Please make sure you have the correct access rights
|
264
|
+
|
265
|
+
and the repository exists.
|
266
|
+
|
267
|
+
MasaakinoMacBook-Air:checkmate masa$ git push origin master
|
268
|
+
|
269
|
+
fatal: 'origin' does not appear to be a git repository
|
270
|
+
|
271
|
+
fatal: Could not read from remote repository.
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
Please make sure you have the correct access rights
|
276
|
+
|
277
|
+
and the repository exists.
|
278
|
+
|
279
|
+
```
|
7
追記3の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -135,3 +135,11 @@
|
|
135
135
|
追記3
|
136
136
|
|
137
137
|
![イメージ説明](fd2b438305dd1f46d9602b93098c046c.png)
|
138
|
+
|
139
|
+
![イメージ説明](0768d68b43052e3a72bb52b6abc9bb6c.png)
|
140
|
+
|
141
|
+
![イメージ説明](327efa28bdabf81fd06380a9a42050de.png)
|
142
|
+
|
143
|
+
![イメージ説明](7f262fc399a3d0b463e2a521060fc42d.png)
|
144
|
+
|
145
|
+
![イメージ説明](db9d2722556c36f81ae4611979301fb9.png)
|
6
git version についての追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -5,6 +5,12 @@
|
|
5
5
|
|
6
6
|
|
7
7
|
現状としてコミットの際のメッセージ「これでトドメだ!」がターミナルのgit logで確認できる、ターミナルのgit statusでこれ以上の変更なしが確認できることからローカルリポジトリを作成し、コミットするところまでは無事できていると思います。おそらく問題なのはターミナルのgit add部分とターミナルのgit remote部分ができていないからだと思います。
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
###Git version
|
12
|
+
|
13
|
+
git version 2.33.1
|
8
14
|
|
9
15
|
|
10
16
|
|
5
追記3の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -123,3 +123,9 @@
|
|
123
123
|
```
|
124
124
|
|
125
125
|
のどちらも試したのですが、何も帰ってきません
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
追記3
|
130
|
+
|
131
|
+
![イメージ説明](fd2b438305dd1f46d9602b93098c046c.png)
|
4
追記2補足
test
CHANGED
File without changes
|
test
CHANGED
@@ -109,3 +109,17 @@
|
|
109
109
|
```
|
110
110
|
|
111
111
|
![イメージ説明](7e91ef9c0e75d6e288995e195daf8aff.png)
|
112
|
+
|
113
|
+
いまだに
|
114
|
+
|
115
|
+
```ここに言語を入力
|
116
|
+
|
117
|
+
コード
|
118
|
+
|
119
|
+
$ git remote -v
|
120
|
+
|
121
|
+
$ git remote
|
122
|
+
|
123
|
+
```
|
124
|
+
|
125
|
+
のどちらも試したのですが、何も帰ってきません
|
3
追記2、現在のターミナルの状態、
test
CHANGED
File without changes
|
test
CHANGED
@@ -47,3 +47,65 @@
|
|
47
47
|
###追記写真
|
48
48
|
|
49
49
|
![イメージ説明](30f69005a8d4ac791fd003035ad6f57b.png)
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
###追記2現在のターミナルの状態
|
54
|
+
|
55
|
+
```ここに言語を入力
|
56
|
+
|
57
|
+
コード
|
58
|
+
|
59
|
+
MasaakinoMacBook-Air:checkmate masa$ git remote add origin https://Masanarea:<トークン>@github.com/Masanarea/lara.git
|
60
|
+
|
61
|
+
usage: git remote add [<options>] <name> <url>
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
-f, --fetch fetch the remote branches
|
66
|
+
|
67
|
+
--tags import all tags and associated objects when fetching
|
68
|
+
|
69
|
+
or do not fetch any tag at all (--no-tags)
|
70
|
+
|
71
|
+
-t, --track <branch> branch(es) to track
|
72
|
+
|
73
|
+
-m, --master <branch>
|
74
|
+
|
75
|
+
master branch
|
76
|
+
|
77
|
+
--mirror[=(push|fetch)]
|
78
|
+
|
79
|
+
set up remote as a mirror to push to or fetch from
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
MasaakinoMacBook-Air:checkmate masa$ git push -u origin master
|
84
|
+
|
85
|
+
fatal: 'origin' does not appear to be a git repository
|
86
|
+
|
87
|
+
fatal: Could not read from remote repository.
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
Please make sure you have the correct access rights
|
92
|
+
|
93
|
+
and the repository exists.
|
94
|
+
|
95
|
+
MasaakinoMacBook-Air:checkmate masa$ git push origin master
|
96
|
+
|
97
|
+
fatal: 'origin' does not appear to be a git repository
|
98
|
+
|
99
|
+
fatal: Could not read from remote repository.
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
Please make sure you have the correct access rights
|
104
|
+
|
105
|
+
and the repository exists.
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
```
|
110
|
+
|
111
|
+
![イメージ説明](7e91ef9c0e75d6e288995e195daf8aff.png)
|
2
追記1、トークンの設定写真
test
CHANGED
File without changes
|
test
CHANGED
@@ -5,6 +5,12 @@
|
|
5
5
|
|
6
6
|
|
7
7
|
現状としてコミットの際のメッセージ「これでトドメだ!」がターミナルのgit logで確認できる、ターミナルのgit statusでこれ以上の変更なしが確認できることからローカルリポジトリを作成し、コミットするところまでは無事できていると思います。おそらく問題なのはターミナルのgit add部分とターミナルのgit remote部分ができていないからだと思います。
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
###追記1
|
12
|
+
|
13
|
+
現状クローンはできるのですが、push,pullができない状態です。
|
8
14
|
|
9
15
|
|
10
16
|
|
@@ -38,4 +44,6 @@
|
|
38
44
|
|
39
45
|
```
|
40
46
|
|
41
|
-
|
47
|
+
###追記写真
|
48
|
+
|
49
|
+
![イメージ説明](30f69005a8d4ac791fd003035ad6f57b.png)
|
1
補足
test
CHANGED
File without changes
|
test
CHANGED
@@ -31,3 +31,11 @@
|
|
31
31
|
fatal: Could not read from remote repository.
|
32
32
|
|
33
33
|
```
|
34
|
+
|
35
|
+
```
|
36
|
+
|
37
|
+
sasas
|
38
|
+
|
39
|
+
```
|
40
|
+
|
41
|
+
a
|