質問編集履歴
6
heroku --version、heroku keys:add、git push -fを一通り試す
test
CHANGED
File without changes
|
test
CHANGED
@@ -278,6 +278,74 @@
|
|
278
278
|
|
279
279
|
|
280
280
|
|
281
|
+
```
|
282
|
+
|
283
|
+
ec2-user:~/environment/ver1.0 (master) $ heroku --version
|
284
|
+
|
285
|
+
heroku/7.26.2 linux-x64 node-v11.14.0
|
286
|
+
|
287
|
+
ec2-user:~/environment/ver1.0 (master) $ heroku login
|
288
|
+
|
289
|
+
heroku: Press any key to open up the browser to login or q to exit:
|
290
|
+
|
291
|
+
Opening browser to https://cli-auth.heroku.com/auth/browser/bdbdf84b-2157-49e6-9da9-○○
|
292
|
+
|
293
|
+
› Warning: Cannot open browser.
|
294
|
+
|
295
|
+
Logging in... done
|
296
|
+
|
297
|
+
Logged in as ○○@gmail.com
|
298
|
+
|
299
|
+
ec2-user:~/environment/ver1.0 (master) $ heroku keys:add
|
300
|
+
|
301
|
+
Found an SSH public key at /home/ec2-user/.ssh/id_rsa.pub
|
302
|
+
|
303
|
+
? Would you like to upload it to Heroku? Yes
|
304
|
+
|
305
|
+
Uploading /home/ec2-user/.ssh/id_rsa.pub SSH key... done
|
306
|
+
|
307
|
+
ec2-user:~/environment/ver1.0 (master) $ cat ~/.ssh
|
308
|
+
|
309
|
+
cat: /home/ec2-user/.ssh: Is a directory
|
310
|
+
|
311
|
+
ec2-user:~/environment/ver1.0 (master) $ cat ~/.ssh/id_rsa.pub
|
312
|
+
|
313
|
+
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDBckPpN27X1CjFgdyuE5DnOHId3KtYKHBVG0emH0OcxRVTyvLOqcM0EJIxyjBOGpVVl4rlwKoYr8ayAKy527hlZLwC1NXX0K/N2caihtGdnjddOv5/RlRNmCM+yL0dDhx7rlvOybrWg4Ge05b5Ffq○○YbRGoMWNsZgGPxVhykix3RRMg7/p1zNqjycjQfebnJKuEDixPNZj66kRXVD00PBDWEdJ0Vgh6MpteRjioUVoCn1bi67fMlDjrPa+AoerK1+vpDdfsVB8dwZWufqyPW6r6rexAiNzMRETtAxBrIWgVPoh+ZMEcdx67Np2Z0737 ec2-user@ip-○○-31-44-167
|
314
|
+
|
315
|
+
ec2-user:~/environment/ver1.0 (master) $ git add .
|
316
|
+
|
317
|
+
ec2-user:~/environment/ver1.0 (master) $ git commit -m "test5"
|
318
|
+
|
319
|
+
[master 54b2ac64] test5
|
320
|
+
|
321
|
+
1 file changed, 1 insertion(+), 1 deletion(-)
|
322
|
+
|
323
|
+
ec2-user:~/environment/ver1.0 (master) $ git push -f heroku master
|
324
|
+
|
325
|
+
The authenticity of host 'heroku.com (50.○○.85.154)' can't be established.
|
326
|
+
|
327
|
+
RSA key fingerprint is ○○/o.
|
328
|
+
|
329
|
+
RSA key fingerprint is MD5:○○.
|
330
|
+
|
331
|
+
Are you sure you want to continue connecting (yes/no)? no
|
332
|
+
|
333
|
+
Host key verification failed.
|
334
|
+
|
335
|
+
fatal: Could not read from remote repository.
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
Please make sure you have the correct access rights
|
340
|
+
|
341
|
+
and the repository exists.
|
342
|
+
|
343
|
+
```
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
|
348
|
+
|
281
349
|
せっかく初めてのデプロイが出来たのに更新が出来なくてツライです・・
|
282
350
|
|
283
351
|
アドバイスよろしくお願いします!
|
5
heroku infoの結果を追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -238,6 +238,46 @@
|
|
238
238
|
|
239
239
|
|
240
240
|
|
241
|
+
### Heroku infoの結果
|
242
|
+
|
243
|
+
```
|
244
|
+
|
245
|
+
ec2-user:~/environment/ver1.0 (master) $ heroku info
|
246
|
+
|
247
|
+
▸ No app specified.
|
248
|
+
|
249
|
+
▸ USAGE: heroku info my-app
|
250
|
+
|
251
|
+
ec2-user:~/environment/ver1.0 (master) $ heroku info ○○
|
252
|
+
|
253
|
+
=== ○○
|
254
|
+
|
255
|
+
Addons: cleardb:ignite
|
256
|
+
|
257
|
+
pointdns:developer
|
258
|
+
|
259
|
+
Auto Cert Mgmt: true
|
260
|
+
|
261
|
+
Dynos: web: 1
|
262
|
+
|
263
|
+
Git URL: https://git.heroku.com/○○.git
|
264
|
+
|
265
|
+
Owner: ○○@gmail.com
|
266
|
+
|
267
|
+
Region: us
|
268
|
+
|
269
|
+
Repo Size: 31 MB
|
270
|
+
|
271
|
+
Slug Size: 75 MB
|
272
|
+
|
273
|
+
Stack: heroku-18
|
274
|
+
|
275
|
+
Web URL: https://○○.herokuapp.com/
|
276
|
+
|
277
|
+
```
|
278
|
+
|
279
|
+
|
280
|
+
|
241
281
|
せっかく初めてのデプロイが出来たのに更新が出来なくてツライです・・
|
242
282
|
|
243
283
|
アドバイスよろしくお願いします!
|
4
config設定とhttps接続を試した結果
test
CHANGED
File without changes
|
test
CHANGED
@@ -184,6 +184,60 @@
|
|
184
184
|
|
185
185
|
|
186
186
|
|
187
|
+
### config設定
|
188
|
+
|
189
|
+
```
|
190
|
+
|
191
|
+
ec2-user:~/environment/ver1.0 (master) $ git config --global user.name "○○"
|
192
|
+
|
193
|
+
ec2-user:~/environment/ver1.0 (master) $ git config --global user.email "○○@gmail.com"
|
194
|
+
|
195
|
+
ec2-user:~/environment/ver1.0 (master) $ git commit --amend --reset-author
|
196
|
+
|
197
|
+
[master 131bc8d4] test3
|
198
|
+
|
199
|
+
1 file changed, 1 insertion(+), 1 deletion(-)
|
200
|
+
|
201
|
+
```
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
### https接続で再度Git push
|
206
|
+
|
207
|
+
```
|
208
|
+
|
209
|
+
ec2-user:~/environment/ver1.0 (master) $ git add .
|
210
|
+
|
211
|
+
ec2-user:~/environment/ver1.0 (master) $ git commit -m "test4"
|
212
|
+
|
213
|
+
On branch master
|
214
|
+
|
215
|
+
nothing to commit, working tree clean
|
216
|
+
|
217
|
+
ec2-user:~/environment/ver1.0 (master) $ git push heroku master
|
218
|
+
|
219
|
+
The authenticity of host 'heroku.com (50.19.85.132)' can't be established.
|
220
|
+
|
221
|
+
RSA key fingerprint is SHA256:○○/o.
|
222
|
+
|
223
|
+
RSA key fingerprint is MD5:○○.
|
224
|
+
|
225
|
+
Are you sure you want to continue connecting (yes/no)? no
|
226
|
+
|
227
|
+
Host key verification failed.
|
228
|
+
|
229
|
+
fatal: Could not read from remote repository.
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
Please make sure you have the correct access rights
|
234
|
+
|
235
|
+
and the repository exists.
|
236
|
+
|
237
|
+
```
|
238
|
+
|
239
|
+
|
240
|
+
|
187
241
|
せっかく初めてのデプロイが出来たのに更新が出来なくてツライです・・
|
188
242
|
|
189
243
|
アドバイスよろしくお願いします!
|
3
ファイルを一部修正して再度"git push"を試してみた
test
CHANGED
File without changes
|
test
CHANGED
@@ -104,6 +104,86 @@
|
|
104
104
|
|
105
105
|
|
106
106
|
|
107
|
+
### ファイルを一部修正して再度"git push"を試してみる
|
108
|
+
|
109
|
+
```
|
110
|
+
|
111
|
+
ec2-user:~/environment/ver1.0 (master) $ heroku login
|
112
|
+
|
113
|
+
heroku: Press any key to open up the browser to login or q to exit:
|
114
|
+
|
115
|
+
Opening browser to https://cli-auth.heroku.com/auth/browser/84347da0-a7b3-4aa7-b0c8-28d511e597e4
|
116
|
+
|
117
|
+
› Warning: Cannot open browser.
|
118
|
+
|
119
|
+
Logging in... done
|
120
|
+
|
121
|
+
Logged in as ○○@gmail.com
|
122
|
+
|
123
|
+
ec2-user:~/environment/ver1.0 (master) $ git add .
|
124
|
+
|
125
|
+
ec2-user:~/environment/ver1.0 (master) $ git commit -m "test3"
|
126
|
+
|
127
|
+
[master ebdd4207] test3
|
128
|
+
|
129
|
+
Committer: EC2 Default User <ec2-user@ip-172-31-44-○○.us-east-2.compute.internal>
|
130
|
+
|
131
|
+
Your name and email address were configured automatically based
|
132
|
+
|
133
|
+
on your username and hostname. Please check that they are accurate.
|
134
|
+
|
135
|
+
You can suppress this message by setting them explicitly:
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
git config --global user.name "Your Name"
|
140
|
+
|
141
|
+
git config --global user.email you@example.com
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
After doing this, you may fix the identity used for this commit with:
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
git commit --amend --reset-author
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
1 file changed, 1 insertion(+), 1 deletion(-)
|
154
|
+
|
155
|
+
ec2-user:~/environment/ver1.0 (master) $ git status
|
156
|
+
|
157
|
+
On branch master
|
158
|
+
|
159
|
+
nothing to commit, working tree clean
|
160
|
+
|
161
|
+
ec2-user:~/environment/ver1.0 (master) $ git push heroku master
|
162
|
+
|
163
|
+
The authenticity of host 'heroku.com (50.19.85.154)' can't be established.
|
164
|
+
|
165
|
+
RSA key fingerprint is SHA256:○○.
|
166
|
+
|
167
|
+
RSA key fingerprint is MD5:○○.
|
168
|
+
|
169
|
+
Are you sure you want to continue connecting (yes/no)?
|
170
|
+
|
171
|
+
Host key verification failed.
|
172
|
+
|
173
|
+
fatal: Could not read from remote repository.
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
Please make sure you have the correct access rights
|
178
|
+
|
179
|
+
and the repository exists.
|
180
|
+
|
181
|
+
ec2-user:~/environment/ver1.0 (master) $
|
182
|
+
|
183
|
+
```
|
184
|
+
|
185
|
+
|
186
|
+
|
107
187
|
せっかく初めてのデプロイが出来たのに更新が出来なくてツライです・・
|
108
188
|
|
109
189
|
アドバイスよろしくお願いします!
|
2
一部モザイク
test
CHANGED
File without changes
|
test
CHANGED
@@ -72,13 +72,13 @@
|
|
72
72
|
|
73
73
|
heroku: Press any key to open up the browser to login or q to exit:
|
74
74
|
|
75
|
-
Opening browser to https://cli-auth.heroku.com/auth/browser/797a573e-
|
75
|
+
Opening browser to https://cli-auth.heroku.com/auth/browser/797a573e-○○-4e8b-b299-790ccdfa9b61
|
76
76
|
|
77
77
|
› Warning: Cannot open browser.
|
78
78
|
|
79
79
|
Logging in... done
|
80
80
|
|
81
|
-
Logged in as
|
81
|
+
Logged in as ○○@gmail.com
|
82
82
|
|
83
83
|
ec2-user:~/environment/ver1.0 (master) $ git status
|
84
84
|
|
1
”git status”、”git add .”を試した結果を追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -64,6 +64,46 @@
|
|
64
64
|
|
65
65
|
|
66
66
|
|
67
|
+
### ”git status”、”git add .”を試した結果
|
68
|
+
|
69
|
+
```
|
70
|
+
|
71
|
+
ec2-user:~/environment/ver1.0 (master) $ heroku login
|
72
|
+
|
73
|
+
heroku: Press any key to open up the browser to login or q to exit:
|
74
|
+
|
75
|
+
Opening browser to https://cli-auth.heroku.com/auth/browser/797a573e-1c66-4e8b-b299-790ccdfa9b61
|
76
|
+
|
77
|
+
› Warning: Cannot open browser.
|
78
|
+
|
79
|
+
Logging in... done
|
80
|
+
|
81
|
+
Logged in as kenmiura0517@gmail.com
|
82
|
+
|
83
|
+
ec2-user:~/environment/ver1.0 (master) $ git status
|
84
|
+
|
85
|
+
On branch master
|
86
|
+
|
87
|
+
nothing to commit, working tree clean
|
88
|
+
|
89
|
+
ec2-user:~/environment/ver1.0 (master) $ git add .
|
90
|
+
|
91
|
+
ec2-user:~/environment/ver1.0 (master) $ git commit -m "test2"
|
92
|
+
|
93
|
+
On branch master
|
94
|
+
|
95
|
+
nothing to commit, working tree clean
|
96
|
+
|
97
|
+
ec2-user:~/environment/ver1.0 (master) $ git status
|
98
|
+
|
99
|
+
On branch master
|
100
|
+
|
101
|
+
nothing to commit, working tree clean
|
102
|
+
|
103
|
+
```
|
104
|
+
|
105
|
+
|
106
|
+
|
67
107
|
せっかく初めてのデプロイが出来たのに更新が出来なくてツライです・・
|
68
108
|
|
69
109
|
アドバイスよろしくお願いします!
|