vim,notepad(windows自帶),notepad++
當然要選notepad++
1.首先下載notepad++
2.將notepad++安裝目錄放到path中
3.git config --global core.editor notepad++
4.git commit 自動用notepad++打開,填寫注釋信息
當然了,也可以將notepad++的目錄直接寫到git core.editor中
git config --global core.editor "'D:\Notepad++\notepad++.exe' -multiInst -notabbar -nosession -noPlugin '$*'"
推薦使用第一種,以后想在git中調用notepad++ <file>查看文件很方便
