Pushing app to heroku problem

☆樱花仙子☆ 提交于 2019-11-28 14:58:11

Type this and I think you'll see the problem:

git remote -v

Fix it like this:

git remote rm heroku
git remote add heroku git@heroku.com:electric-meadow-15.git

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.

For all the people who this does not work, check your ~/.heroku/credentials
If the email or token does not match the account, you won't see your apps.

If you got here and think you have a similar problem but all of the other stuff suggested does not work you might want to try:

heroku restart
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!