2016-11-07 78 views
1

我有一個情況,我有兩個遙控器。通過運行確認git remote -v推到guro後推到heroku

現在,我已經做了git push 但現在,我想推向heroku。所以我用git push heroku master。但是,它顯示已經是最新的。

請注意,在此git push heroku之前,我已經部署過一次到heroku。 如何推送/部署我的更改?

+0

你是如何部署到heroku的?這很重要,因爲heroku需要使用代碼才能部署代碼。這可能解釋你所經歷的原因。 – lemiorhan

+0

我使用Windows CLI推送,然後運行一些命令在這裏https://devcenter.heroku.com/articles/heroku-command-line 然後我從https://devcenter.heroku.com/articles/參考部署開始使用nodejs#deploy-the-app – kushalvm

+0

您似乎已經推送到heroku來部署您的代碼。因此,'git push heroku master'命令沒有找到任何更新,因爲它已經去了heroku。 – lemiorhan

回答