git force push heroku code example
Example 1: how to force push to heroku
git push --force heroku master
Example 2: how to force push heroku
git push -f heroku master
git push --force heroku master
git push -f heroku master