Skip to content

Instantly share code, notes, and snippets.

@phocke
Created August 11, 2015 15:00
Show Gist options
  • Save phocke/88e039ce88925c2626da to your computer and use it in GitHub Desktop.
Save phocke/88e039ce88925c2626da to your computer and use it in GitHub Desktop.
rake heroku:deploy:migrate[remote,localbranch] # deploy to remote heroku deployment branch (git remote -v), migra...
rake heroku:sync:db:local[from_remote,host,database,username] # sync local DB with heroku
rake heroku:sync:db:remote[to_remote,from_remote] # sync [to_remote] heroku DB from [from_remote] heroku DB
rake heroku:sync:db:staging[from_remote] # sync staging heroku DB from production heroku DB
rake heroku:sync:deploy_migrate[remote,localbranch] # deploy to remote heroku deployment branch (git remote -v), migra...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment