Answer the question
In order to leave comments, you need to log in
How to change the default editor in git?
Good evening programmers.
I just got a new laptop, and I'm trying to set everything up the way it was before.
The problem as far as I can understand is that it doesn't work to change the default code editor in GIT.
I remember the command - git config --global core.editor And what's next? I need to enter Visual Studio Code there. As I just did not try to do it, and in small letters, and together, and camel case. What to do?
Answer the question
In order to leave comments, you need to log in
so, firstly, the path to VSCode will be different on different operating systems:
and here is the desired path and write it right after git config - -global core.editor
git config --global core.editor \ "'C:/Program Files (x86)/Notepad++/notepad++.exe' - multiInst -notabbar -nosession -noPlugin".
here you need to find something similar, but about your editor.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question