質問編集履歴
1
hint文の変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,14 +1,10 @@
|
|
1
1
|
git push origin masterコマンドを実行すると以下のエラーが発生しました。
|
2
|
-
|
3
|
-
エラーの原因も解決策もわからないのでどなたかお力をお貸しいただけますでしょうか。
|
4
|
-
|
5
|
-
宜しくお願い致します。
|
6
2
|
|
7
3
|
|
8
4
|
|
9
5
|
! [rejected] master -> master (fetch first)
|
10
6
|
|
11
|
-
error: failed to push some refs to 'https://github.com/〇〇.git'
|
7
|
+
error: failed to push some refs to 'https://github.com/〇〇/〇〇.git'
|
12
8
|
|
13
9
|
hint: Updates were rejected because the remote contains work that you do
|
14
10
|
|
@@ -19,3 +15,25 @@
|
|
19
15
|
hint: (e.g., 'git pull ...') before pushing again.
|
20
16
|
|
21
17
|
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
次にgit fetchを試すとhintが以下に変更されました。
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
error: failed to push some refs to 'https://github.com/〇〇/〇〇.git'
|
26
|
+
|
27
|
+
hint: Updates were rejected because the tip of your current branch is behind
|
28
|
+
|
29
|
+
hint: its remote counterpart. Integrate the remote changes (e.g.
|
30
|
+
|
31
|
+
hint: 'git pull ...') before pushing again.
|
32
|
+
|
33
|
+
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
hintの内容もエラー内容もわからないので解決策がわかる方 どなたかお力をお貸しいただけますでしょうか。
|
38
|
+
|
39
|
+
宜しくお願い致します。
|