railsチュートリアルで間違えたところがあったのでgit reset --hard をやって間違ったところを修正してgit pushしようとしたらエラーになりました。
ec2-user:~/environment/sample_app (account-activation|MERGING) $ git push To bitbucket.org:ryusei1124/sample_app_new.git ! [rejected] account-activation -> account-activation (non-fast-forward) error: failed to push some refs to 'git@bitbucket.org:ryusei1124/sample_app_new.git' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details.
account-activationの隣に|MERGINGというのが出ています。どうすれば直りますか?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/10/08 11:26