首页 > Windows开发 > 详细

Change Git Default Editor in Windows

时间:2015-08-07 18:44:23      阅读:313      评论:0      收藏:0      [点我收藏+]

 

On 32 bit Win OS:

git config --global core.editor "‘C:/Program Files/Notepad++/notepad++.exe‘ -multiInst -notabbar -nosession -noPlugin"

 

On 64 bit Win OS: 

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

 

Obviously the C:/Program Files/Notepad++/notepad++.exe part should be the path to the Notepad++ executable on your system. For example, on Windows 7 it‘s likely to be C:/Program Files (x86)/Notepad++/notepad++.exe .

Change Git Default Editor in Windows

原文:http://www.cnblogs.com/kid551/p/4711085.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!