git sh.exe 乱码

其实很简单,只需要在 git 安装目录中的 etc 目录下修改 bash.bashrc 文件。

在该文件头部加入:

export LANG=zh_CN.utf-8
alias ls='ls --show-control-chars --color=auto'

原文地址:https://www.cnblogs.com/bg7c/p/8316732.html