Git – renamed heroku app from website, now it’s not found

githeroku

After renaming my heroku app from the heroku website, whenever I cd to its directory in a terminal and run any heroku command, I get App not found. Does anybody know of a way to remedy this?

Best Answer

Try to update the git remote for the app:

git remote rm heroku
git remote add heroku git@heroku.com:yourappname.git