0
我設置了對Heroku的遠程訪問,所以我可以使用逗號 git push staging master
將我的應用程序部署到Heroku。我不知道是什麼崩潰,但現在當我運行從以前的句子的命令,所以我得到的錯誤:通過Git部署應用程序到Heroku(非快進)
To [email protected]:mystagingapp.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to '[email protected]:staging-app.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.
我別無所求合併,我想只是delpoy我的應用程序的實際版本從本地主機到Heroku。最簡單的方法是什麼?
非常感謝。