set git remote heroku to code example
Example 1: how to add existing heroku remote
git remote add heroku [email protected]:project.git
Example 2: git remote add heroku
heroku git:remote -a project
Example 3: heroku git remote
heroku git:remote -a name-of-app
Example 4: push heroku
$ git push heroku master
Example 5: set git remote heroku to https://git.heroku.com/resume-projects.git
$ git push heroku master
Initializing repository, done.
updating 'refs/heads/master'
...
Example 6: set git remote heroku to https://git.heroku.com/resume-projects.git
$ heroku git:remote -a thawing-inlet-61413
set git remote heroku to https://git.heroku.com/thawing-inlet-61413.git