Skip to content

Commit 6d5f8b0

Browse files
authored
Update setup.md
Changing of the default editor will apparently accept ANY argument, even if that then won’t work – for instance, it happily accepts: git config --global core.editor "foobar" too, but there’s no step for testing that in the instructions. That step has been added here.
1 parent c93c1cd commit 6d5f8b0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

setup.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,10 @@ For example:
2828
$ git config --global core.editor "notepad"
2929
~~~
3030
{: .bash}
31+
You will NOT get an immediate error message if you specify an incorrect or non-existent text editor command here. Therefore, you may first wish to test that the text editor you specify can be invoked, with (for the above example of `"notepad"` on Windows):
32+
33+
~~~
34+
$ touch deleteme.txt
35+
$ notepad deleteme.txt
36+
~~~
37+
{: .bash}

0 commit comments

Comments
 (0)