0
0

More than 3 years have passed since last update.

error: failed to push some refs to [URL] エラーの対処法

Posted at

Herokuにデプロイしようとした時に出たエラーです。
エラーが出てデプロイができない状態でした。
しかし、とても初歩的なミスでした・・・。

error: failed to push some refs to [URL] エラーの対処法

結論!Gitにコミットしてなかった!

ターミナル
git add .
git commit -m "コメント"

にて解消!以上!

まとめ

Procfileを先にコミットして、肝心な本体のgit add .とgit commitを忘れていました。
皆さんはこんなミスはしないと思いますが、同じようなエラーが出た時に参考になればと思います。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0