1、在PowerShell下执行下面的代码
git config --global core.quotepath false
git config --global gui.encoding utf-8
git config --global i18n.commit.encoding utf-8
git config --global i18n.logoutputencoding utf-8
$env:LESSCHARSET='utf-8'
2、在设置系统变量
![](https://cdn.zklighting.ltd/wp-content/uploads/2020/08/20190717091411627.png)
3、重新执行 git log
搞定
感谢: https://blog.csdn.net/FollowGodSteps/article/details/96271359
暂无评论