Using a Git repository with an existing Heroku app

You can  take an existing Git repo and add a remote using the git URL provided when you created your app. You may need to do this to associate a Git repository with an existing application.

The Heroku git:remote command will add this remote for you based on your applications git URL.

heroku git:remote -a myApp
Git remote heroku added.

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.