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

敲这两行就可以了:

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

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