質問編集履歴

2

修正

2020/07/12 11:03

投稿

H40831
H40831

スコア973

test CHANGED
File without changes
test CHANGED
@@ -32,9 +32,9 @@
32
32
 
33
33
  git commit -m ""
34
34
 
35
- git push origin master # HerokuリポジトリにExpressディレクトリごとpush
35
+ git push heroku master # HerokuリポジトリにExpressディレクトリごとpush
36
36
 
37
- git push heroku master # Githubのリモートリポジトリにも反映させるため、origin masterにもpush
37
+ git push origin master # Githubのリモートリポジトリにも反映させるため、origin masterにもpush
38
38
 
39
39
 
40
40
 

1

修正

2020/07/12 11:03

投稿

H40831
H40831

スコア973

test CHANGED
File without changes
test CHANGED
@@ -32,11 +32,9 @@
32
32
 
33
33
  git commit -m ""
34
34
 
35
- git push origin master # GithubのモートリポジトリにExpressディレクトリを丸ごとpush
35
+ git push origin master # HerokuリポジトリにExpressディレクトリごとpush
36
36
 
37
- git pull # そのままheroku masterにプッシュしようとするとなぜか失敗したので、一度pullする。
38
-
39
- git push heroku master # Herokuに反映させるため、Herokuのリモートリポジトリにpush
37
+ git push heroku master # Githubのリモートリポジトリ反映させるため、origin masterにpush
40
38
 
41
39
 
42
40