0

I was able to upload my play2 application to heroku.

I did the following.

$ git init
$ git add .
$ git commit -m "init"

$ heroku create --stack cedar
$ git push heroku master

I want to make changes to my running application. I read though https://devcenter.heroku.com/articles/git but I still have problems.

How do I tell heroku/git that I made a change and I want to update my running application?

I've tried $ git push heroku master again, but it tells me everything is up to date, which is wrong. So I guess there should be a command to update the git repository?

I've never worked with git and it seems that the documentation on heroku is lacking of some information.

I hope you can clear things up for me.

4

1 回答 1

1

在推送之前,您需要将更改提交到本地 Git 存储库:

git add app/FileYouChanged
git commit -m "message about your changes"

然后你可以将你的 Git 仓库推送到 Heroku:

git push heroku master
于 2012-08-18T14:52:23.863 回答