git version 2.5.0.windows.1中文乱码问题解决方案

UI部分

Options->Text

Local:zh_CN,Character set:GBK

~/.GitConfig

[gui]
        encoding = utf-8
[tgit]
        projectlanguage = 2052
[credential]
        helper = wincred
[i18n]
        commitencoding = utf-8
        logoutputencoding = gbk

/etc/profile

最后一行加入如下配置:

export LESSCHARSET=iso8859

 

 

posted @ 2015-08-27 13:28  FrankYou  阅读(349)  评论(0编辑  收藏  举报