Set Notepad++ as default Git editor
A default editor for Git in Windows system is notepad, which we can all agree that editor is not the greatest editor in the world.
We can change it to Notepad++. Let’s assume that Notepad++ was installed in default path C:\Program Files (x86)\Notepad++\
. Then the command to set Notepad++ as default git will look like this:
git config --global core.editor "'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"