Sunday, April 3, 2011

Push a pre-existing repo to an already created heroku app

Say your buddy created an app on heroku but you've been working on the same code directly from github, when it comes time to push from your local repo to github you'll need to:
git remote add heroku
then you can
git push heroku


  1. Probably you should add something like "git push heroku master" if doing this for the first time.