0

My application code on Heroku is different from my application code on my computer and on Github. For the latest git commit I made, I added all of the revisions to my files using "git add ." and the correct changes I was looking for got pushed to Github, however when I pushed the code to Heroku several of the changes didn't take effect. The design of my web application on my local server has the correct attributes I'm looking for, however even after I committed the new application code to Heroku the design didn't change to reflect the changes in my code.

I'm not sure what could be causing this problem, or how I can go about fixing it. Any help you could give me would be great! Thanks so much!

4

1 回答 1

0

我知道很多人会告诉你显而易见的事情。

状态

git commit -am "你的更新信息"

git push heroku 大师

heroku 重启

但是,我遇到了这个问题,真正的问题是 SSH 密钥。我注意到我只能从给定的机器上进行成功的更改。在 heroku 上删除您机器的密钥,然后重新创建并再次添加密钥。

您使用的是 Windows 还是 Linux?希望这可以帮助。

于 2012-07-27T20:44:26.273 回答