我能够将我的play2应用程序上传到heroku。
我做了以下事情。
$ git init
$ git add .
$ git commit -m "init"
$ heroku create --stack cedar
$ git push heroku master
我想对正在运行的应用程序进行更改。我虽然阅读https://devcenter.heroku.com/articles/git,但我仍有问题。
如何告诉heroku / git我做了更改,并且我想更新正在运行的应用程序?
我再次尝试$ git push heroku master
,但它告诉我一切都是最新的,这是错误的。所以我想应该有一个更新git存储库的命令?
我从未使用过git,似乎heroku上的文档缺少一些信息。
我希望你能为我解决问题。
答案 0 :(得分:1)
在推送之前,您需要将更改提交到本地Git仓库:
git add app/FileYouChanged
git commit -m "message about your changes"
然后你可以将你的Git回购推送到Heroku:
git push heroku master