windows cmd执行git log命令中文显示乱码

敲这两行就可以了:

git config --global i18n.commitencoding utf-8
git config --global i18n.logoutputencoding gbk

posted @ 2017-01-12 22:32  gougou00  阅读(913)  评论(0编辑  收藏  举报