git push heroku master says “Everything up-to-date”, but the app is not current

前端 未结 13 1465
孤独总比滥情好
孤独总比滥情好 2020-12-02 09:00

I have an app on Heroku that is running old code. I\'ve made a small change and committed the change. I then ran

git push heroku master

I

13条回答
  •  执念已碎
    2020-12-02 09:06

    When this happens, I push previous commit hash to master like this:

    git push some-heroku-app-name SOME-COMMIT-HASH:master --force
    

    Then I re-push master like this:

    git push some-heroku-app-name master:master
    

提交回复
热议问题