Heroku: If you are developing on a branch and deploying via git you must run:

前端 未结 3 954
陌清茗
陌清茗 2021-01-20 10:49

Heroku thinks I\'m on a "different branch", but I am not (and the same version of the code most definitely has not "been built" as claimed):



        
相关标签:
3条回答
  • 2021-01-20 11:01

    This solution worked for me:

    Add and checkout new branch

    git checkout -b tes
    

    and push it to branch above

    git push heroku tes
    
    0 讨论(0)
  • 2021-01-20 11:06

    What worked for me was

    git push heroku master:main
    

    And it all worked

    (not sure why this was necessary though)

    0 讨论(0)
  • 2021-01-20 11:22

    Mine worked with:

    git push heroku HEAD:master

    0 讨论(0)
提交回复
热议问题