git heroku push master code example

Example 1: git push to heroku

$ git push heroku master

Example 2: how to force push to heroku

git push --force heroku master

Example 3: set git remote heroku to https://git.heroku.com/resume-projects.git

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

Example 4: 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 5: set git remote heroku to https://git.heroku.com/resume-projects.git

$ git push heroku testbranch:master