码迷,mamicode.com
首页 > Windows程序 > 详细

Change Git Default Editor in Windows

时间:2015-08-07 18:47:40      阅读:179      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!