push into heroku from a different branch other than master code example Example: how to push to heroku outside the master branch git push -f heroku HEAD:master