Associating text editors with gitgit
Using Notepad++ as your editorsgithub
you can set your default editor in Git to use Notepad++ if you have installed the editor.bash
一、install notepad++
二、open git bash
三、Type this command:session
git config --global core.editor "'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"
when you commit, type "git commit",then you can edit your message by notepad++this
reference : https://help.github.com/en/articles/associating-text-editors-with-gitcode