回答編集履歴

1

git checkout master を追加

2020/03/04 16:21

投稿

hoshi-takanori
hoshi-takanori

スコア7895

test CHANGED
@@ -6,8 +6,14 @@
6
6
 
7
7
  git push . HEAD:master
8
8
 
9
+ git checkout master
10
+
9
11
  ```
10
12
 
11
13
 
12
14
 
15
+ あとは普通に github に push できるはずです。
16
+
17
+
18
+
13
19
  参考: [Git の 'detached HEAD' 状態とその注意点 - yu8mada](https://yu8mada.com/2018/05/31/detached-head-state-and-its-caution-in-git/)