0

This is the sequence I am doing to deploy an application to Heroku:

  • I have a repo with a Node application.

  • In project root:

    • heroku create myappname
    • heroku git:remote -a myappname
    • git remote -v (shows both heroku and origin with fetch and push)
    • git push heroku master

This results on an error:

error: src refspec master does not match any

error: failed to push some refs to 'git@heroku.com:myappname.git'

Biomehanika
  • 1,530
  • 1
  • 17
  • 45

0 Answers0