所以改变了Git的默认编辑器,现在我该如何从Git bash中调用它? [英] So changed Git's default editor, now how do i invoke it from Git bash?
本文介绍了所以改变了Git的默认编辑器,现在我该如何从Git bash中调用它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已将Git的默认编辑器应用于Git的全局配置:
I've changed Git's default editor by applying the following to Git's global config:
core.editor='C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin
现在,我是否只需调用默认编辑器而不启动提交?我试图测试设置/更改我做。
Now, how do I simply invoke the "default editor" without initiating a commit ? I'm trying to test the settings/change I made.
谢谢!
使用Git版本1.8。 1
Using Git version 1.8.1
推荐答案
运行
Run
git config -e
编辑默认编辑器中的配置。
To edit the configuration in the default editor.
这篇关于所以改变了Git的默认编辑器,现在我该如何从Git bash中调用它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文