menu

Choosing a Text Editor When Setting Up Git

Once you've set up a username, you'll need to choose a text editor to post messages to Git.

Let's set up the Notepad text editor for Windows as an example.++. To do this, in the terminal after the command core.editor you need to open double quotes, then specify the full path to the file containing your chosen text editor in single quotes. Add the options -multiInst, --notabbar, -nosession and -noPlugin and close the double quotes:

git config --global core.editor "'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"

A very important nuance is that the selected editor must already be installed in your operating system. If you specify a non-existent editor, unexpected failures in Git may occur in the future. Therefore, first install a text editor and only then specify it in the settings.

Set up a text editor for Git that is appropriate for your operating system.

English
БеларускаяDeutschEspañolFrançaisPortuguêsРусский
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline