Reputation:
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
Reputation: 2005
You need to change your heroku remote to match the new name for your app.
Do on the command line
git remote remove heroku
git remote add heroku [email protected]:YOUR_APP_NAME.git
Let me know if that doesn't fix it
Upvotes: 6