Skip to content

Instantly share code, notes, and snippets.

@verbaleks
Forked from evrybiont/heroku
Last active August 29, 2015 14:19
Show Gist options
  • Save verbaleks/71a85bc585002a290f68 to your computer and use it in GitHub Desktop.
Save verbaleks/71a85bc585002a290f68 to your computer and use it in GitHub Desktop.
git remote rm heroku - this will remove the heroku remote from your application
git remote add production <production apps heroku git repo url> - this will add a new remote named 'production' pointing at the production apps git repo url (you can get this from the My Apps page on heroku.com
git remote add staging <staging apps heroku git repo url>
git push staging master
git push staging locla_branch:master
heroku restart -a app_name
heroku logs -t --app app_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment