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