一、前言

使用 cmd ,执行 git log 命令时出现如下中文乱码问题

image.png

二、解决方式

在环境变量中配置 LESSCHARSET 变量,变量值为 utf-8
重启 cmd 即可。