I'm attempting to deploy my Java web app on Heroku. When I was making a tutorial I've created an app using heroku create command, lets say it wasy "name-app1". Then I removed it after the tutorial and create the new one to deploy it let it be: "new_app". However, when I attempt to do anything like upload my code there was an error that previous app "name-app1" does not exist anymore. When I try to use for e.g. heroku logs there is following error:
» Error: Missing required flag:
» -a, --app APP app to run command against
» See more help with --help
I tired to point at my new app with following command:
git remote set-url heroku git@heroku.com:hidden-ridge-8790.git
I think I messed up something and don't know how to fix it.