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 git@heroku.com:YOURAPP.git
then you can
git push heroku
Thanks for posting this :)
ReplyDeleteProbably you should add something like "git push heroku master" if doing this for the first time.
ReplyDelete