Why does git diff on Windows warn that the “terminal is not fully functional”?

后端 未结 7 772
南方客
南方客 2020-12-04 09:43

I\'m using msysgit 1.7.7.1 on Windows. I get an error when using git diff. What is causing this? Is there no diff tool included in msysgit? Wha

7条回答
  •  死守一世寂寞
    2020-12-04 10:23

    If you are having issues in cmd.exe, for instance, see the warning here:

    CMD.EXE without the TERM set correctly

    Then simply set your environment variables and include TERM=msys. After that, each time you open a cmd.exe, your variable will be set correctly.

    How to set your TERM environment variable

    NOW YOU MUST RESTART YOUR SHELL (CMD.EXE). Just run a new one. And from there, you should have no more issues. Again:

    CMD.EXE with the correct TERM set

提交回复
热议问题