Como forçar o empurrão para Heroku
git push --force heroku master
Cheerful Chimpanzee
git push --force heroku master
$ git push heroku master
Open cmd in the directory of your project. Then enter the following things
git checkout branch-to-deploy
heroku git:remote -a app-name
git push heroku branch-to-deploy:main
heroku login
heroku create
git push heroku main
//...done
git push heroku main
$ git push heroku testbranch:master