有些人表面光鲜亮丽,实际上,船袜已经滑到了脚底板。

如何修复:git bash WARNING: terminal is not fully functional



For Git Bash, this can be fixed by adding the following line to ~/.bashrc:


export TERM=cygwin

-or-


export TERM=msys

The first seems to be the original by git for windows, the second a popular known form to "heal" as well.

The problem can be caused if some other program (like for example Strawberry Perl) sets the TERM system environment variables.

http://code.google.com/p/msysgit/issues/detail?id=184


参考: https://stackoverflow.com/questions/7949956/why-does-git-diff-on-windows-warn-that-the-terminal-is-not-fully-functional

标签git bash Windows Terminal

最新评论