質問編集履歴
3
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -81,3 +81,35 @@
|
|
81
81
|
|
82
82
|
|
83
83
|
ご教授いただけるとありがたいです。
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
「追記」
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
その後、sshではなくHTTPSの方を git remote add origin の後にコピペして、実行しました。
|
92
|
+
|
93
|
+
その結果下記のようなエラーが出たので、そちらを調査中です。
|
94
|
+
|
95
|
+
ec2-user:~/environment/toy_app (master) $ git remote add origin https://kazukafka@bitbucket.org/kazukafka/toy_app.git
|
96
|
+
|
97
|
+
ec2-user:~/environment/toy_app (master) $ git push -u origin --all
|
98
|
+
|
99
|
+
Password for 'https://kazukafka@bitbucket.org':
|
100
|
+
|
101
|
+
To https://bitbucket.org/kazukafka/toy_app.git
|
102
|
+
|
103
|
+
! [rejected] master -> master (fetch first)
|
104
|
+
|
105
|
+
error: failed to push some refs to 'https://kazukafka@bitbucket.org/kazukafka/toy_app.git'
|
106
|
+
|
107
|
+
hint: Updates were rejected because the remote contains work that you do
|
108
|
+
|
109
|
+
hint: not have locally. This is usually caused by another repository pushing
|
110
|
+
|
111
|
+
hint: to the same ref. You may want to first integrate the remote changes
|
112
|
+
|
113
|
+
hint: (e.g., 'git pull ...') before pushing again.
|
114
|
+
|
115
|
+
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
|
2
誤字の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -74,7 +74,7 @@
|
|
74
74
|
|
75
75
|
|
76
76
|
|
77
|
-
git remove の後のbitbucketのsshの
|
77
|
+
git remove の後のbitbucketのsshのコピペの仕方が間違っていると考えているのですが、どうでしょうか?
|
78
78
|
|
79
79
|
検索して調べたつもりですが、よく理解できずに困惑しています。
|
80
80
|
|
1
より詳しい環境の明示
test
CHANGED
File without changes
|
test
CHANGED
@@ -3,6 +3,10 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
現在 Ruby on Rails チュートリアル(https://railstutorial.jp/)を進めています。
|
6
|
+
|
7
|
+
AWSのCloud9を使用しています。
|
8
|
+
|
9
|
+
|
6
10
|
|
7
11
|
第2章のToyアプリケーションなのですが、
|
8
12
|
|