Heroku -- push not working
So I used heroku create
with one of my apps, but then when on heroku.com I deleted the corresponding repository. I tried using heroku create
again and it did give me another URL, but now when I try to push my app it keeps looking for the old one:
! No such app as [old name]
fatal: The r开发者_高级运维emote end hung up unexpectedly
How do I get heroku to stop looking for this old app and use the newly created one?
Your local git repository has the old URL saved in its heroku
remote. You have to update it using
git remote set-url --push heroku git@heroku.com:new_app.git
See Heroku's documentation and the Git manpage for more information.
精彩评论