回答編集履歴

1

unset

2020/12/12 16:21

投稿

yumetodo
yumetodo

スコア5850

test CHANGED
@@ -2,12 +2,28 @@
2
2
 
3
3
 
4
4
 
5
- ```
5
+ ```bash
6
6
 
7
- git config --global core.editor <path/to/text_editor>
7
+ $git config --global core.editor <path/to/text_editor>
8
8
 
9
9
  ```
10
10
 
11
11
 
12
12
 
13
13
  のような構文で好きなテキストエディタを使えます。コミットごときで毎回VSCode立ち上げられるのは面倒だってことならvimなりnanoなり適当なエディタにすればいいと思います。
14
+
15
+
16
+
17
+ あるいは
18
+
19
+
20
+
21
+ ```bash
22
+
23
+ $git config --global --unset core.editor
24
+
25
+ ```
26
+
27
+
28
+
29
+ でたしか既定に戻せたはずです。