更改Git默认编辑器为Notepad++

在git bash中使用以下命令

git config --global core.editor "\"D:\Program Files (x86)\Notepad++\notepad++.exe\" -multiInst -notabbar -nosession -noPlugin"

在这里插入图片描述

你可能感兴趣的:(git)