Is there any way to use Gedit as the core.editor for Git in Windows?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Add your gedit bin directory to environment variable %PATH%, then configure git core.editor "gedit"
回答2:
Though this question doesn't answer your question directly, it does talk about setting up an editor to work with Git for Windows: How can I set up an editor to work with Git on Windows?
This question might also be useful for you incase you run into problems while changing the default editor: Unable to change the default editor in terminal