gitにプッシュすることが出来ません。

実現したいこと

herokuへのアップの為にCloud9のワークスペースを作成し直し、ruby on railsプロジェクトを移動させてきたのですが、githubへのプッシュが行う事が出来ませんでした。
それが関係してなのか、herokuへのアップを行ったところ、エラーが発生してしまい、修正できなくなりました。
gitへのプッシュが出来なかった理由はnodeが関係しているのでしょうか?

発生している問題・エラーメッセージ

! [rejected] master -> master (fetch first) error: failed to push some refs to 'https://github.com/*****/********.git' 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.

試したこと

pull して手動マージするというやり方を試してみたのですが、プッシュすることは出来ませんでした。

git push時にerror: failed to push some refs toとエラーがでる

補足情報(FW/ツールのバージョンなど)

ruby 3.2.2
rails 6

コメントを投稿

0 コメント