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

后端 未结 30 1236
悲哀的现实
悲哀的现实 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:22

    I've had difficulty getting Git to cooperate with WordPad, Komodo Edit and pretty much every other editor I give it. Most open for editing, but Git clearly doesn't wait for the save/close to happen.

    As a crutch, I've just been doing i.e.

    git commit -m "Fixed the LoadAll method"
    

    to keep things moving. It tends to keep my commit messages a little shorter than they probably should be, but clearly there's some work to be done on the Windows version of Git.

    The GitGUI also isn't that bad. It takes a little bit of orientation, but after that, it works fairly well.

提交回复
热议问题