Git log 中文乱码

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

git config --global i18n.commitencoding utf-8

git config --global i18n.logoutputencoding utf-8

export LESSCHARSET=utf-8

猜你喜欢

转载自www.cnblogs.com/leon2659/p/9698561.html