I created a heroku repo some time ago for my rails app but deleted it because I was never using it. Now I have come to the point where I need to use heroku but I am encountering the following error:
! No such app as furious-mist-2295.
git remote rm origin
git remote add origin <URL to new heroku app>
git push -u origin master
Turns out it can be done with the following commands
git remote rm heroku
git remote add heroku email@example.com:new-application.git
Which is quite a simple little fix. Seemed rather difficult without knowing beforehand that these commands existed.
git remote -v came in handy to double check which repos in git and heroku were being pushed and fetched.