@PowerShell | git log 中文亂碼問題解決)
PowerShell | git log 中文亂碼問題解決
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’