Pushing app to heroku problem

前端 未结 4 473
时光取名叫无心
时光取名叫无心 2020-12-12 08:27

I am trying to push my app to heroku and I get the following message:

$ heroku create
Creating electric-meadow-15..... done
Created http://electric-meadow-1         


        
4条回答
  •  南笙
    南笙 (楼主)
    2020-12-12 09:14

    I was getting the second error you posted "failed to push some refs to 'git@heroku.com:floating-stone-94.git' " (with a different app name) and i got rid of it by doing the following:

    git remote rm heroku
    heroku create
    

    you should see a line that says 'Git remote heroku added'. Also

    git remote -v
    

    should now have the correct app.

提交回复
热议问题