找到GitBash安装目录,修改Git\etc\bash.bashrc文件,在最后添加
# support chinese export LANG="zh_CN.UTF-8" export LC_ALL="zh_CN.UTF-8"