質問編集履歴
3
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -39,4 +39,20 @@
|
|
39
39
|
git remove の後のbitbucketのsshのコピペの仕方が間違っていると考えているのですが、どうでしょうか?
|
40
40
|
検索して調べたつもりですが、よく理解できずに困惑しています。
|
41
41
|
|
42
|
-
ご教授いただけるとありがたいです。
|
42
|
+
ご教授いただけるとありがたいです。
|
43
|
+
|
44
|
+
「追記」
|
45
|
+
|
46
|
+
その後、sshではなくHTTPSの方を git remote add origin の後にコピペして、実行しました。
|
47
|
+
その結果下記のようなエラーが出たので、そちらを調査中です。
|
48
|
+
ec2-user:~/environment/toy_app (master) $ git remote add origin https://kazukafka@bitbucket.org/kazukafka/toy_app.git
|
49
|
+
ec2-user:~/environment/toy_app (master) $ git push -u origin --all
|
50
|
+
Password for 'https://kazukafka@bitbucket.org':
|
51
|
+
To https://bitbucket.org/kazukafka/toy_app.git
|
52
|
+
! [rejected] master -> master (fetch first)
|
53
|
+
error: failed to push some refs to 'https://kazukafka@bitbucket.org/kazukafka/toy_app.git'
|
54
|
+
hint: Updates were rejected because the remote contains work that you do
|
55
|
+
hint: not have locally. This is usually caused by another repository pushing
|
56
|
+
hint: to the same ref. You may want to first integrate the remote changes
|
57
|
+
hint: (e.g., 'git pull ...') before pushing again.
|
58
|
+
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
|
2
誤字の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -36,7 +36,7 @@
|
|
36
36
|
|
37
37
|
というふうに、"作成したファイルを新しいリモートリポジトリにプッシュ"できないようです。
|
38
38
|
|
39
|
-
git remove の後のbitbucketのsshの
|
39
|
+
git remove の後のbitbucketのsshのコピペの仕方が間違っていると考えているのですが、どうでしょうか?
|
40
40
|
検索して調べたつもりですが、よく理解できずに困惑しています。
|
41
41
|
|
42
42
|
ご教授いただけるとありがたいです。
|
1
より詳しい環境の明示
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
いつもありがとうございます。
|
2
2
|
|
3
3
|
現在 Ruby on Rails チュートリアル(https://railstutorial.jp/)を進めています。
|
4
|
+
AWSのCloud9を使用しています。
|
5
|
+
|
4
6
|
第2章のToyアプリケーションなのですが、
|
5
7
|
2.1アプリケーションの計画の部分で、
|
6
8
|
"次に、Bitbucketで [Create] ボタンをクリックして新しいリポジトリを作成します(図 2.1)。続いて、生成したファイルをこの新しいリモートリポジトリにプッシュします。"
|