【发布时间】:2017-07-14 22:34:07
【问题描述】:
我在 heroku 帐户中有两个应用程序(比如 A 和 B)。我错误地将“A”应用程序的代码推入了另一个heroku应用程序“B”。然后我只是回滚了“B”应用程序。
现在当我试图将更改推送到 heroku 应用程序“B”项目时。
它会引发以下错误。
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'LINK TO HEROKU APP'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
现在该做什么
【问题讨论】: