How to Add a Heroku Remote to an Existing Project

Feature thumb heroku logo

If you have an existing project and you need to work on it from a different computer, you can add the Heroku remote with the following command:

heroku git:remote -a some_app_name

This assumes that you have the heroku CLI toolbelt installed.