最佳答案
我想部署 Heroku 应用程序,这将是理想的使用 git push -u heroku master
完成。但是,这只有在有任何挂起的提交要推到主服务器时才会起作用。
如何重新部署应用程序,而没有什么可推?我试了 git push -u heroku master -f
,仍然得到相同的下面
Branch master set up to track remote branch master from heroku.
Everything up-to-date
PS: 我还想保留现有的应用程序,这意味着我不能使用这个答案 https://stackoverflow.com/a/22043184/968442