前提・実現したいこと
RailsのTutorailを行っています。
第1章の、Bitbucketの所でつまづいております。
以下の、作業を行った所、エラーメッセージが表示されました。
※ユーザー名の欄は、Bitbucketで登録したユーザー名を入力しております。
【リスト 1.11: Bitbucketへのリポジトリ追加とリポジトリへのプッシュ】
$ git remote add origin git@bitbucket.org:ユーザー名/hello_app.git
$ git push -u origin --all
どうぞ、宜しくお願いします。
発生している問題・エラーメッセージ
To bitbucket.org:ユーザー名/hello_app.git
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'git@bitbucket.org:ユーザー名/hello_app.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.
該当のソースコード
ソースコード
試したこと
ここに問題に対して試したことを記載してください。
補足情報(FW/ツールのバージョンなど)
ここにより詳細な情報を記載してください。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。