user3760731
user3760731

Reputation:

Fatal: Heroku repository does not exist

I renamed my Heroku app from their goofy name to something more reasonable. I never imagined that it would cause me trouble here. just now I tried the following

git remote -v

heroku  http://appname.herokuapp.com (fetch)
heroku  http://appname.herokuapp.com (push)
origin  [email protected]:MyAccount/games.git (fetch)
origin  [email protected]:MyAccount/games.git (push)

I thought I had it won there. but then I tried

git push heroku master

and then i got this message

fatal: repository 'http://appname.herokuapp.com/' not found

I don't understand why it won't push

Upvotes: 0

Views: 2853

Answers (1)

Matthew Leonard
Matthew Leonard

Reputation: 2005

You need to change your heroku remote to match the new name for your app.

Do on the command line

Let me know if that doesn't fix it

Upvotes: 6

Related Questions