Skip to content

Instantly share code, notes, and snippets.

@evrybiont
Last active June 21, 2016 18:55
Show Gist options
  • Save evrybiont/512b4e122896de3c5578 to your computer and use it in GitHub Desktop.
Save evrybiont/512b4e122896de3c5578 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 local_branch:master
heroku restart -a app_name
heroku logs -t --app app_name
heroku create example
git remote add heroku git@heroku.com:young-shore-74683.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment