以下三条命令搞定(系统是centos  7.4)

git config --global i18n.commitencoding utf-8

git config --global i18n.logoutputencoding utf-8

export LESSCHARSET=utf-8

相关文章: