Heroku deploy 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: heroku git remote
heroku git:remote -a name-of-app
Example 4: deploy to heroku
$ git add .
$ git commit -m "Added a Procfile."
$ heroku login
Enter your Heroku credentials.
...
$ heroku create <app-name>
Creating arcane-lowlands-8408... done, stack is cedar
$ git push heroku master
-----> Node.js app detected
...
-----> Launching... done
http:
Example 5: set git remote heroku to https://git.heroku.com/resume-projects.git
$ git push heroku master
Initializing repository, done.
updating 'refs/heads/master'
...
Example 6: heroku and github on termi
$ heroku git:remote -a thawing-inlet-61413
set git remote heroku to https: