PowerShell 使用git log时中文不能显示

317 阅读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'

设置系统参数

image.png

LESSCHARSET utf-8