ruby on rails - git push and git push heroku master in one step -


is there way execute git push , git push heroku master in 1 line on command prompt?

it cumbersome , time-consuming go git push, wait, wait, git push heroku master

here's 2 ways:

in shell (you don't have wait, it'll execute these both 1 after other):

git push origin master && git push heroku master 

if install hub gem, can push origin , heroku (and more), so:

hub push origin,heroku master 

Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -