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

后端 未结 7 791
南方客
南方客 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

    I work in powershell and I have the git executable directly in my path.

    None of the suggested answers worked, but I found a solution that works for me.

    I added a line in my powershell profile:

    $env:TERM="msys"
    

    Which fixed the problem for me.

提交回复
热议问题