尝试在 heroku 中更新我的第一个 node.js 应用程序时,我有点卡在这里。
该应用程序的初始版本已成功部署,但现在当我尝试部署修改后的应用程序时,它给了我一些问题。这是命令和输出
> git push heroku master
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'git@heroku.com:....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.
git status 命令显示如下:
On branch master
Your branch is ahead of 'origin/master' by 1 commit.