Ruby on Rails Tutorial(https://railstutorial.jp/chapters/beginning?version=5.1#cha-beginning)を進めている途中で詰まってしまいました。
現在、1.11: Bitbucketへのリポジトリ追加とリポジトリへのプッシュ まで進んだのですが、
To bitbucket.org:○○○○○/hello_app.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'git@bitbucket.org:○○○○○/hello_app.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.
上記のエラーが出てしまいます。
リモートリポジトリにpushする方法を教えていただきたいです。
公開鍵(ssh-rsaから始まり、ec2-user…より前の部分)の登録は3回やり直しています。
開発環境はAWSのcloud9です。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/08/23 07:25