Windows下设置Git编辑器

http://stackoverflow.com/questions/10564/how-can-i-set-up-an-editor-to-work-with-git-on-windows

git config 配置:

git config --global core.editor C:/prog/git/npp.bat

 

npp.bat 内容:

#!/bin/sh
"c:/Program Files/Notepad++/notepad++.exe" -multiInst -notabbar -nosession -noPlugin "$*

 

posted on 2013-01-23 17:44  回头多少个秋  阅读(1832)  评论(1编辑  收藏  举报