git bash中文文件名乱码的处理方法

1.git bash 窗口右键,选择 Options ->Text,选择zh_CN、UTF-8
image
2.git bash终端执行命令

git config --global core.quotepath false
git config --global gui.encoding utf-8
git config --global i18n.commitencoding utf-8
git config --global i18n.logoutputencoding utf-8
export LESSCHARSET=utf-8
posted @ 2023-08-17 15:55  _DC  阅读(190)  评论(0编辑  收藏  举报