likes
comments
collection
share

git以及git status命令不显示中文的解决方法

作者站长头像
站长
· 阅读数 14

git 命令不显示中文的解决方法

git status 不显示中文: 在终端模式下安顺序执行以下命令即可:

git config --global core.quotepath false 
git config --global i18n.commitencoding utf-8
git config --global i18n.logoutputencoding utf-8
export LESSCHARSET=utf-8