How to reset Heroku app and re-commit everything?

前端 未结 9 2182
傲寒
傲寒 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-07 10:56

    I had the same problem and I tried all the suggestions and didnot help. I had to run assets precompile locally and push, even though I did heroku run rake assets:precompile.

    rake assets:precompile
    git add .
    git commit -am "local assets precompile"
    git push heroku master
    

提交回复
热议问题