I have two heroku accounts one using email [email protected] and one using [email protected]
previously I deployed a rails app to my [email protected] account but now I want to deploy to [email protected] account using the same machine. I logged in using my credentials for [email protected] using the following command
heroku login
but when I do a git push it still uses [email protected] and gives the error message that [email protected] does not have access to the application's repository.
I have generated the ssh key for account [email protected] and added it to heroku as well so technically it should work but it is not
please help