git version 2.5.0.windows.1中文亂碼問題解決方案

FrankYou發表於2015-08-27

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

 

 

相關文章