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.