【发布时间】:2013-04-09 07:34:19
【问题描述】:
我将 heroku 上的应用从 v7 回滚到 v4(例如),这是一周前的旧版本。由于 v7 引入了一些错误,我想上传一个全新的版本。我试图在 heroku 上部署这个新版本,但得到了这个错误
error: failed to push some refs to 'git@heroku.com:boiling-bastion-xxxx.git'
To prevent you from losing history, non-fast-forward updates were rejected
Merge the remote changes (e.g. 'git pull') before pushing again. See the
'Note about fast-forwards' section of 'git push --help' for details.
由于我不想与 v7 有任何关系,而是想上传这个新版本,我还运行git push 吗?我不想向前滚动,因为最新版本 (v7) 引入了一些错误。
【问题讨论】:
标签: ruby-on-rails git heroku github