heroku create git push 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