I'm trying to create 2 different Heroku apps using the same code with the same git repository. App1 is created in Heroku by my friend and i'm not a collaborator and app2 is the branch of the same git repository that i'm trying to deploy. Is this possible?
I'm getting an error when i'm trying to deploy the 2nd app to Heroku:
$ git push heroku branch1:master
! my_email_id@gmail.com not authorized to access app1
fatal: The remote end hung up unexpectedly