github to heroku code example

Example 1: git push to heroku

$ git push heroku master

Example 2: deploying to heroku from git

$ heroku git:remote -a thawing-inlet-61413
set git remote heroku to https://git.heroku.com/thawing-inlet-61413.git

Example 3: heroku and github on termi

$ git remote rename heroku heroku-staging

Example 4: deploying to heroku from git

$ git push heroku master
Initializing repository, done.
updating 'refs/heads/master'
...

Example 5: deploying to heroku from git

$ git push heroku testbranch:master