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
- Staging is your git remote for your test server on heroku.
- 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!!
Written by Arun Agrawal
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Heroku
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#