push repo to horoko code example Example 1: how to force push to heroku git push --force heroku master Example 2: push heroku $ git push heroku master