windows 10 下 git log 中文注释乱码问题解决

1
2
3
$ git config –global gui.encoding utf-8
$ git config –global i18n.commitencoding utf-8
$ git config –global i18n.logoutputencoding utf-8

在mingw64中 vim /etc/profile 中添加

1
export LESSCHARSET=utf-8