How to reset Heroku app and re-commit everything?

前端 未结 9 2144
傲寒
傲寒 2020-12-07 09:57

I\'m building an application which I\'m also testing in Heroku. I ran into some problem today and had to rollback one commit in my local git repo, but Heroku now won\'t reco

9条回答
  •  春和景丽
    2020-12-07 10:34

    Supposing you rolled back one commit you remotely did, that previously existed. I think you should make:

    git merge heroku/master
    

    If you just want to go forward

    or:

    git push --force heroku master
    

    if you want to push that change

提交回复
热议问题