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

后端 未结 7 769
南方客
南方客 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条回答
  •  Happy的楠姐
    2020-12-04 10:44

    Above answers was not fully worked for me, so I did: Add

    export TERM=msys 
    

    to "[githome]/etc/profile" at the top but it made changes only for git bash. Then I added

    @set TERM=msys
    

    to "[githome]/cmd/git.cmd" after @setlocal (I installed only git run from command line). May be this decision not truly good but it works for me and there are not any terminal warnings. (I use git version 1.7.10.msysgit.1).

提交回复
热议问题