Make Heroku run non-master Git branch

Make Heroku run non-master Git branch You can push an alternative branch to Heroku using Git.

git push heroku-dev test:master
This pushes your local test branch to the remote's master branch (on Heroku).

El manual de git push dice:

To push a local branch to an established remote, you need to issue the command:

git push  <REMOTENAME> <BRANCHNAME>
This is most typically invoked as git push origin master.

If you would like to give the branch a different name on the upstream side of the push, you can issue the command:

git push  <REMOTENAME> <LOCALBRANCHNAME>:<REMOTEBRANCHNAME>

Casiano Rodríguez León
2015-01-25