inicio mail me! sindicaci;ón

Push local branch to specific heroku app

You use two heroku apps as staging and production for your project. You added both as git remotes, e.g. “production” and “staging”.

Now you want to push your local branch “poster” to remote “staging”, use
git push staging poster:master

Note, that you can only push to “master” on herokus side. This is just git syntax, but I keep forgetting it, so here it is for future reference.

Schreibe einen Kommentar