質問編集履歴
3
追加補足情報
test
CHANGED
File without changes
|
test
CHANGED
@@ -74,7 +74,7 @@
|
|
74
74
|
|
75
75
|
|
76
76
|
|
77
|
-
### 補足情報
|
77
|
+
### 補足情報(投稿当初)
|
78
78
|
|
79
79
|
|
80
80
|
|
@@ -99,3 +99,49 @@
|
|
99
99
|
|
100
100
|
|
101
101
|
よろしくお願いいたします。
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
### 補足情報(2021/08/13 14:00)
|
106
|
+
|
107
|
+
push先をmainではなく、masterにしてみたところ問題なくpushすることができました。
|
108
|
+
|
109
|
+
```
|
110
|
+
|
111
|
+
$ git push origin master
|
112
|
+
|
113
|
+
Enumerating objects: 60, done.
|
114
|
+
|
115
|
+
Counting objects: 100% (60/60), done.
|
116
|
+
|
117
|
+
Delta compression using up to 8 threads
|
118
|
+
|
119
|
+
Compressing objects: 100% (60/60), done.
|
120
|
+
|
121
|
+
Writing objects: 100% (60/60), 4.04 MiB | 2.94 MiB/s, done.
|
122
|
+
|
123
|
+
Total 60 (delta 17), reused 0 (delta 0), pack-reused 0
|
124
|
+
|
125
|
+
remote: Resolving deltas: 100% (17/17), done.
|
126
|
+
|
127
|
+
remote:
|
128
|
+
|
129
|
+
remote: Create a pull request for 'master' on GitHub by visiting:
|
130
|
+
|
131
|
+
remote: https://github.com/ユーザー名/test/pull/new/master
|
132
|
+
|
133
|
+
remote:
|
134
|
+
|
135
|
+
To https://github.com/ユーザー名/test.git
|
136
|
+
|
137
|
+
* [new branch] master -> master
|
138
|
+
|
139
|
+
```
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
githubではデフォルトブランチがmainとなっているので、masterではなくmainの方にデータをpushしたいのですが、
|
144
|
+
|
145
|
+
どのように設定を変更したらよろしいでしょうか?
|
146
|
+
|
147
|
+
[こちら](https://qiita.com/masakinihirota/items/1a657674e609be112fc6)を参考としてやってみようかと思っているのですが、問題ないでしょうか?
|
2
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
0. [git commit -m “Create test”]で保存
|
20
20
|
|
21
|
-
このcommitの段階で[error: pathspec '
|
21
|
+
このcommitの段階で[error: pathspec 'test”' did not match any file(s) known to git]というエラーが表示されます。
|
22
22
|
|
23
23
|
|
24
24
|
|
@@ -34,7 +34,7 @@
|
|
34
34
|
|
35
35
|
```
|
36
36
|
|
37
|
-
error: pathspec '
|
37
|
+
error: pathspec 'test”' did not match any file(s) known to git
|
38
38
|
|
39
39
|
```
|
40
40
|
|
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -56,7 +56,7 @@
|
|
56
56
|
|
57
57
|
$git commit -m "Create test"
|
58
58
|
|
59
|
-
error: pathspec '
|
59
|
+
error: pathspec 'test”' did not match any file(s) known to git
|
60
60
|
|
61
61
|
```
|
62
62
|
|