Skip to content

Commit 4cca378

Browse files
committed
Resolve 32/64-bit confusion for Windows editors
1 parent c337c6a commit 4cca378

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

book/01-introduction/sections/first-time-setup.asc

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,19 @@ If you want to use a different text editor, such as Emacs, you can do the follow
5050
$ git config --global core.editor emacs
5151
----
5252

53-
While on a Windows system, if you want to use a different text editor, such as Notepad++, you can do the following:
53+
On a Windows system, if you want to use a different text editor, you must specify the full path to its executable file.
54+
This can be different depending on how your editor is packaged.
55+
56+
In the case of Notepad++, a popular programming editor, the application is always shipped as a 32-bit executable.
57+
If you are on a 32-bit Windows system, or you have a 64-bit editor on a 64-bit system, you'll type something like this:
5458

55-
On a x86 system
5659
[source,console]
5760
----
5861
$ git config --global core.editor "'C:/Program Files/Notepad++/notepad++.exe' -multiInst -nosession"
5962
----
60-
On a x64 system
63+
64+
If you have a 32-bit editor on a 64-bit system, the program will be installed in `C:\Program Files (x86)`:
65+
6166
[source,console]
6267
----
6368
$ git config --global core.editor "'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -nosession"

0 commit comments

Comments
 (0)