heroku github integration code example

Example 1: git push to heroku

$ git push heroku master

Example 2: heroku and github on termi

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

Example 3: how to trigger new heorku build without diting git

heroku builds:create --source-url https://user:[email protected]/repos/<username>/<repo name>/tarball/master/ --app <app-name>

Example 4: heroku and github on termi

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

Example 5: heroku and github on termi

$ git remote rename heroku heroku-staging

Tags:

C Example