How can I set up an editor to work with Git on Windows?

后端 未结 30 1345
悲哀的现实
悲哀的现实 2020-11-22 13:57

I\'m trying out Git on Windows. I got to the point of trying \"git commit\" and I got this error:

Terminal is dumb but no VISUAL nor

30条回答
  •  半阙折子戏
    2020-11-22 14:00

    I managed to get the environment version working by setting the EDITOR variable using quotes and /:

    EDITOR="c:/Program Files (x86)/Notepad++/notepad++.exe"
    

提交回复
热议问题