Last Updated: February 25, 2016
·
1.931K
· arunagw

Push your feature branch to heroku

If you have any staging or any other test environment setup on heroku and you want to test your feature which is in your feature branch you can do something like

git push staging your-feature-branch:master

Here

  1. Staging is your git remote for your test server on heroku.
  2. your-feature-branch is the branch which you want to deploy.

sometime you need to do a force push to deploy as somebody else has done a deploy of their feature-branch

git push staging your-feature-branch:master -f

Enjoy!!