0
私はHerokuにデプロイされたアプリを持っています。Heroku Gitプッシュマスターエラー
:私は次のエラーを与えるその
$ git add .
$ git commit -am "make it better"
$ git push heroku master
:私はこの次の変更をプッシュしようとした。その後
heroku git:clone -a myApp
:私はシンプルcloud9 IDEへのアプリはそうのようないくつかの変更を行うためにクローン化されました
To https://git.heroku.com/myApp
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://git.heroku.com/myApp'
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
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
'gitのプルHerokuののmaster'をして、押して。あるいは強制オプション 'git push heroku master -f'を使用してください。 – Tushar
@ Tushar回答を投稿すると、私がそれを受け入れて質問を閉じることができる場合、強制オプションが問題を解決しました。 – Skywalker