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

質問編集履歴

2

修正

2020/07/12 11:03

投稿

H40831
H40831

スコア975

title CHANGED
File without changes
body CHANGED
@@ -15,8 +15,8 @@
15
15
  cd ../ # Expressのディレクトリに戻る
16
16
  git add -A
17
17
  git commit -m ""
18
- git push origin master # HerokuリポジトリにExpressディレクトリごとpush
18
+ git push heroku master # HerokuリポジトリにExpressディレクトリごとpush
19
- git push heroku master # Githubのリモートリポジトリにも反映させるため、origin masterにもpush
19
+ git push origin master # Githubのリモートリポジトリにも反映させるため、origin masterにもpush
20
20
 
21
21
  ```
22
22
 

1

修正

2020/07/12 11:03

投稿

H40831
H40831

スコア975

title CHANGED
File without changes
body CHANGED
@@ -15,9 +15,8 @@
15
15
  cd ../ # Expressのディレクトリに戻る
16
16
  git add -A
17
17
  git commit -m ""
18
- git push origin master # GithubのモートリポジトリにExpressディレクトリを丸ごとpush
18
+ git push origin master # HerokuリポジトリにExpressディレクトリごとpush
19
- git pull # そのままheroku masterにプッシュしようとするとなぜか失敗したので、一度pullする。
20
- git push heroku master # Herokuに反映させるため、Herokuのリモートリポジトリにpush
19
+ git push heroku master # Githubのリモートリポジトリにも反映させるため、origin masterにもpush
21
20
 
22
21
  ```
23
22