質問編集履歴

1

打ったことを追加しました

2019/07/16 22:22

投稿

YTkotarou
YTkotarou

スコア11

test CHANGED
File without changes
test CHANGED
@@ -1,3 +1,17 @@
1
1
  Herokuでpushしよう思い最後にgit push heroku masterのコマンドを打ったらerror: src refspec master does not match any
2
2
 
3
3
  error: failed to push some refs to 'https://git.heroku.com/XXXXXXXXX.git'っと出てしまいますどうしたらいいでしょうか※パソコンガチ初心者です
4
+
5
+
6
+
7
+ うったこと
8
+
9
+ git init
10
+
11
+ heroku git:remote -a XXXXXXXXXXXXXX(BOTの名前です)
12
+
13
+ git add .
14
+
15
+ git commit -am "this is a bot"
16
+
17
+ git push heroku master