Gedit with Git in Windows?

2019-07-16 13:51发布

问题:

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



标签: git gedit