So changed Git's default editor, now how do i invoke it from Git bash?

拜拜、爱过 提交于 2019-12-03 14:55:04

问题


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.

Thanks!

Using Git version 1.8.1


回答1:


Run

git config -e

To edit the configuration in the default editor.



来源:https://stackoverflow.com/questions/16451669/so-changed-gits-default-editor-now-how-do-i-invoke-it-from-git-bash

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!